Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Floppy committed May 4, 2016
1 parent 966219d commit ad4cce2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
3 changes: 1 addition & 2 deletions features/signup_as_individual.feature
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,5 @@ Feature: Signup as an individual member
When I click sign up
Then I am redirected to the payment page
And I should have a membership number generated
And I should have the product link "individual-pay-what-you-like-free"
And I am processed through chargify for the "individual-pay-what-you-like-free" option
When I click pay now
When I click complete
6 changes: 0 additions & 6 deletions features/step_definitions/signup_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -230,12 +230,6 @@
allow(ChargifyProductLink).to receive(:for).and_return(chargify_return_members_path(params))
end

Then(/^I should have the product link "(.*?)"$/) do |plan|
member = Member.find_by_email(@email)

expect(ChargifyProductLink.new(member).public_signup_page_key).to eq(plan)
end

Then(/^the coupon code "(.*?)" is saved against my membership$/) do |coupon|
@discount = 50
member = Member.find_by_email(@email)
Expand Down

0 comments on commit ad4cce2

Please sign in to comment.