spec/integration/smoke_test.rb in mousetrap-0.4.0 vs spec/integration/smoke_test.rb in mousetrap-0.4.1

- old
+ new

@@ -33,10 +33,14 @@ it "And I should see last name" do @api_customer.last_name.should == @customer.last_name end + it "And I should see company" do + @api_customer.company.should == @customer.company + end + it "And I should see the code" do @api_customer.code.should == @customer.code end it "And I should see the ID" do @@ -189,9 +193,10 @@ before :all do attributes = Factory.attributes_for :new_customer @customer.first_name = attributes[:first_name] @customer.last_name = attributes[:last_name] @customer.email = attributes[:email] + @customer.company = attributes[:company] @customer.save end it_should_behave_like "a Customer record from CheddarGetter" end