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.
- data/lib/rspec_attr_extensions.rb +2 -4
- 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
|
23
|
-
|
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
|