Sha256: b320727e17245e304d161b4f48a0d9b2bb06277a7b3eaabca7c5a32e6cd695cc
Contents?: true
Size: 565 Bytes
Versions: 1
Compression:
Stored size: 565 Bytes
Contents
require 'spec_helper' feature "Create subscriptions", %q{ To provide subscriptions options to my customers As a user I want to be able to record their pricing and name } do let(:user) { Factory(:user) } background do sign_in user end scenario "creating a new subscription" do visit subscriptions_path click_link "New Subscription" fill_in "subscription[name]" , with: "Gold" fill_in "subscription[price]", with: "30" click_button('Create Subscription') page.should have_css(".alert.alert-success") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jackpot-0.0.3 | spec/requests/jackpot/jackpot_create_subscriptions_spec.rb |