spec/at_spec.rb in at-0.1.0 vs spec/at_spec.rb in at-0.1.1
- old
+ new
@@ -19,9 +19,11 @@
subject.at.last_name.should == "Doe"
end
end
describe "#full_name" do
+ subject { User.new }
+
it "should correctly output the full name" do
subject.at.first_name = "John"
subject.at.last_name = "Doe"
subject.full_name.should == "John Doe"