Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

don't use tap in feature (no tap in 1.8.6)

  • Loading branch information...
commit a568a03883c4ff23b23ac17b9cba3773ca395326 1 parent 63a2f73
David Chelimsky authored
6  features/subject/attribute_of_subject.feature
@@ -35,9 +35,9 @@ Feature: attribute of subject
35 35
 
36 36
       describe Person do
37 37
         subject do
38  
-          Person.new.tap do |person|
39  
-            person.phone_numbers << "555-1212"
40  
-          end
  38
+          person = Person.new
  39
+          person.phone_numbers << "555-1212"
  40
+          person
41 41
         end
42 42
 
43 43
         its("phone_numbers.first") { should == "555-1212" }

0 notes on commit a568a03

Please sign in to comment.
Something went wrong with that request. Please try again.