spec/integration/smoke_test.rb in cameroncox-mousetrap-0.5.3.10 vs spec/integration/smoke_test.rb in cameroncox-mousetrap-0.6.1
- old
+ new
@@ -113,9 +113,19 @@
end
it_should_behave_like "a Customer record from CheddarGetter"
it_should_behave_like "an active Subscription record from CheddarGetter"
end
+
+ describe "When I create a customer with international card" do
+ before :all do
+ attributes = Factory.attributes_for :alt_new_customer
+ @customer = Mousetrap::Customer.create attributes_for
+ end
+
+ it_should_behave_like "a Customer record from CheddarGetter"
+ it_should_behave_like "an active Subscription record from CheddarGetter"
+ end
end
describe ".destroy_all" do
describe "Given a few customers on CheddarGetter" do
before :all do