rspec_attr_extensions 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/rspec_attr_extensions.rb +2 -4
  2. metadata +1 -1
@@ -19,8 +19,6 @@ def it_should_have_an_attr_writer_for(*one_or_more_fields)
19
19
  end
20
20
 
21
21
  def it_should_have_an_attr_accessor_for(*one_or_more_fields)
22
- one_or_more_fields.each do |field|
23
- it_should_have_an_attr_reader_for *one_or_more_fields
24
- it_should_have_an_attr_writer_for *one_or_more_fields
25
- end
22
+ it_should_have_an_attr_reader_for *one_or_more_fields
23
+ it_should_have_an_attr_writer_for *one_or_more_fields
26
24
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec_attr_extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Harrington