Skip to content

Instantly share code, notes, and snippets.

@phlipper
Created July 9, 2011 05:33
Show Gist options
  • Save phlipper/1073358 to your computer and use it in GitHub Desktop.
Save phlipper/1073358 to your computer and use it in GitHub Desktop.
Failures:
1) DonationObserver On creating a new donation should create a corresponding entry
Failure/Error: let!(:donation) { Factory(:donation, :amount => 100) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_observer_spec.rb:4
2) DonationObserver On deleting a donation should delete its entry
Failure/Error: let!(:donation) { Factory(:donation, :amount => 100) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_observer_spec.rb:4
3) Admin::DonationsController GET 'index' should set donations
Failure/Error: let!(:campaign_donation) { Factory(:donation, :campaign => campaign) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/controllers/admin/donations_controller_spec.rb:7
4) Admin::DonationsController GET 'index' should render index
Failure/Error: let!(:campaign_donation) { Factory(:donation, :campaign => campaign) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/controllers/admin/donations_controller_spec.rb:7
5) Admin::DonationsController GET 'index' with a campaign scope should set @campaign
Failure/Error: let!(:campaign_donation) { Factory(:donation, :campaign => campaign) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/controllers/admin/donations_controller_spec.rb:7
6) Admin::DonationsController GET 'index' with a campaign scope should only include the campaign's donations
Failure/Error: let!(:campaign_donation) { Factory(:donation, :campaign => campaign) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/controllers/admin/donations_controller_spec.rb:7
7) Admin::DonationsController GET 'index' with a campaign scope should render index
Failure/Error: let!(:campaign_donation) { Factory(:donation, :campaign => campaign) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/controllers/admin/donations_controller_spec.rb:7
8) Account::DonationsController GET 'index' should set campaign to nil
Failure/Error: let!(:campaign_donation) { Factory(:donation, :campaign => campaign) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/controllers/account/donations_controller_spec.rb:6
9) Account::DonationsController GET 'index' should set donations
Failure/Error: let!(:campaign_donation) { Factory(:donation, :campaign => campaign) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/controllers/account/donations_controller_spec.rb:6
10) Account::DonationsController GET 'index' should render index
Failure/Error: let!(:campaign_donation) { Factory(:donation, :campaign => campaign) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/controllers/account/donations_controller_spec.rb:6
11) Account::DonationsController GET 'index' with a campaign scope should set @campaign
Failure/Error: let!(:campaign_donation) { Factory(:donation, :campaign => campaign) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/controllers/account/donations_controller_spec.rb:6
12) Account::DonationsController GET 'index' with a campaign scope should only include the campaign's donations
Failure/Error: let!(:campaign_donation) { Factory(:donation, :campaign => campaign) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/controllers/account/donations_controller_spec.rb:6
13) Account::DonationsController GET 'index' with a campaign scope should render index
Failure/Error: let!(:campaign_donation) { Factory(:donation, :campaign => campaign) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/controllers/account/donations_controller_spec.rb:6
14) Account::DonationsController used by an account_admin accessing an account he doesn't administer GET 'index' should not be able to manage donations for another account's campaign
Failure/Error: let!(:campaign_donation) { Factory(:donation, :campaign => campaign) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/controllers/account/donations_controller_spec.rb:6
15) Admin::BankAccountsController as an Anedot admin bank_account GET 'new' should set @bank_account
Failure/Error: before { get :new, :account_id => account.id }
ArgumentError:
wrong number of arguments (2 for 1)
# ./app/controllers/admin/bank_accounts_controller.rb:5:in `new'
# ./spec/controllers/admin/bank_accounts_controller_spec.rb:11
16) Admin::BankAccountsController as an Anedot admin bank_account GET 'new' should render form
Failure/Error: before { get :new, :account_id => account.id }
ArgumentError:
wrong number of arguments (2 for 1)
# ./app/controllers/admin/bank_accounts_controller.rb:5:in `new'
# ./spec/controllers/admin/bank_accounts_controller_spec.rb:11
17) Admin::BankAccountsController as an Anedot admin bank_account POST 'create' should update @bank_account
Failure/Error: before { post :create, :account_id => account.id, :id => bank_account.id, :bank_account => valid_attributes }
ArgumentError:
wrong number of arguments (2 for 1)
# ./app/controllers/admin/bank_accounts_controller.rb:10:in `create'
# ./spec/controllers/admin/bank_accounts_controller_spec.rb:25
18) Admin::BankAccountsController as an Anedot admin bank_account POST 'create' should redirect to account
Failure/Error: before { post :create, :account_id => account.id, :id => bank_account.id, :bank_account => valid_attributes }
ArgumentError:
wrong number of arguments (2 for 1)
# ./app/controllers/admin/bank_accounts_controller.rb:10:in `create'
# ./spec/controllers/admin/bank_accounts_controller_spec.rb:25
19) Admin::BankAccountsController as an Anedot admin bank_account POST 'create' should set the flash notice
Failure/Error: before { post :create, :account_id => account.id, :id => bank_account.id, :bank_account => valid_attributes }
ArgumentError:
wrong number of arguments (2 for 1)
# ./app/controllers/admin/bank_accounts_controller.rb:10:in `create'
# ./spec/controllers/admin/bank_accounts_controller_spec.rb:25
20) Account::BankAccountsController used by an account_admin GET 'new' should set @bank_account
Failure/Error: before { get :new }
ArgumentError:
wrong number of arguments (2 for 1)
# ./app/controllers/account/bank_accounts_controller.rb:9:in `new'
# ./spec/controllers/account/bank_accounts_controller_spec.rb:25
21) Account::BankAccountsController used by an account_admin GET 'new' should render form
Failure/Error: before { get :new }
ArgumentError:
wrong number of arguments (2 for 1)
# ./app/controllers/account/bank_accounts_controller.rb:9:in `new'
# ./spec/controllers/account/bank_accounts_controller_spec.rb:25
22) Account::BankAccountsController used by an account_admin POST 'create' should update @bank_account
Failure/Error: before { post :create, :id => bank_account.id, :bank_account => valid_attributes }
ArgumentError:
wrong number of arguments (2 for 1)
# ./app/controllers/account/bank_accounts_controller.rb:14:in `create'
# ./spec/controllers/account/bank_accounts_controller_spec.rb:39
23) Account::BankAccountsController used by an account_admin POST 'create' should redirect to account
Failure/Error: before { post :create, :id => bank_account.id, :bank_account => valid_attributes }
ArgumentError:
wrong number of arguments (2 for 1)
# ./app/controllers/account/bank_accounts_controller.rb:14:in `create'
# ./spec/controllers/account/bank_accounts_controller_spec.rb:39
24) Account::BankAccountsController used by an account_admin POST 'create' should set the flash notice
Failure/Error: before { post :create, :id => bank_account.id, :bank_account => valid_attributes }
ArgumentError:
wrong number of arguments (2 for 1)
# ./app/controllers/account/bank_accounts_controller.rb:14:in `create'
# ./spec/controllers/account/bank_accounts_controller_spec.rb:39
25) Entry An entry should have a gross amount in dollars
Failure/Error: let(:entry) { Factory(:donation).entry }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/entry_spec.rb:37
# ./spec/models/entry_spec.rb:40
26) Entry An entry should have a fee amount in dollars
Failure/Error: let(:entry) { Factory(:donation).entry }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/entry_spec.rb:37
# ./spec/models/entry_spec.rb:44
27) Entry An entry should have a net amount in dollars
Failure/Error: let(:entry) { Factory(:donation).entry }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/entry_spec.rb:37
# ./spec/models/entry_spec.rb:48
28) Entry An entry should have a number
Failure/Error: let(:entry) { Factory(:donation).entry }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/entry_spec.rb:37
# ./spec/models/entry_spec.rb:52
29) Admin::AccountsController GET 'index' should set @accounts
Failure/Error: before { get :index }
NoMethodError:
undefined method `paginate' for #<Class:0x1084d6f30>
# /Users/phlipper/Projects/thincloud_base/lib/crud_actions.rb:55:in `find_collection'
# ./spec/controllers/admin/accounts_controller_spec.rb:9
30) Admin::AccountsController GET 'index' should render index
Failure/Error: before { get :index }
NoMethodError:
undefined method `paginate' for #<Class:0x1084d6f30>
# /Users/phlipper/Projects/thincloud_base/lib/crud_actions.rb:55:in `find_collection'
# ./spec/controllers/admin/accounts_controller_spec.rb:9
31) Admin::AccountsController GET 'new' should set @account
Failure/Error: before { get :new }
NoMethodError:
undefined method `paginate' for #<Class:0x1084d6f30>
# /Users/phlipper/Projects/thincloud_base/lib/crud_actions.rb:55:in `find_collection'
# ./spec/controllers/admin/accounts_controller_spec.rb:22
32) Admin::AccountsController GET 'new' should render form
Failure/Error: before { get :new }
NoMethodError:
undefined method `paginate' for #<Class:0x1084d6f30>
# /Users/phlipper/Projects/thincloud_base/lib/crud_actions.rb:55:in `find_collection'
# ./spec/controllers/admin/accounts_controller_spec.rb:22
33) Admin::AccountsController POST 'create' should create @account
Failure/Error: before { post :create, :account => Factory.build(:account).attributes }
NoMethodError:
undefined method `paginate' for #<Class:0x1084d6f30>
# /Users/phlipper/Projects/thincloud_base/lib/crud_actions.rb:55:in `find_collection'
# ./spec/controllers/admin/accounts_controller_spec.rb:35
34) Admin::AccountsController POST 'create' should redirect to index
Failure/Error: before { post :create, :account => Factory.build(:account).attributes }
NoMethodError:
undefined method `paginate' for #<Class:0x1084d6f30>
# /Users/phlipper/Projects/thincloud_base/lib/crud_actions.rb:55:in `find_collection'
# ./spec/controllers/admin/accounts_controller_spec.rb:35
35) Admin::AccountsController GET 'show' should set @account
Failure/Error: before { get :show, :id => account.id }
NoMethodError:
undefined method `paginate' for #<Class:0x1084d6f30>
# /Users/phlipper/Projects/thincloud_base/lib/crud_actions.rb:55:in `find_collection'
# ./spec/controllers/admin/accounts_controller_spec.rb:47
36) Admin::AccountsController GET 'show' should render show
Failure/Error: before { get :show, :id => account.id }
NoMethodError:
undefined method `paginate' for #<Class:0x1084d6f30>
# /Users/phlipper/Projects/thincloud_base/lib/crud_actions.rb:55:in `find_collection'
# ./spec/controllers/admin/accounts_controller_spec.rb:47
37) Admin::AccountsController GET 'edit' should set @account
Failure/Error: before { get :edit, :id => account.id }
NoMethodError:
undefined method `paginate' for #<Class:0x1084d6f30>
# /Users/phlipper/Projects/thincloud_base/lib/crud_actions.rb:55:in `find_collection'
# ./spec/controllers/admin/accounts_controller_spec.rb:60
38) Admin::AccountsController GET 'edit' should render form
Failure/Error: before { get :edit, :id => account.id }
NoMethodError:
undefined method `paginate' for #<Class:0x1084d6f30>
# /Users/phlipper/Projects/thincloud_base/lib/crud_actions.rb:55:in `find_collection'
# ./spec/controllers/admin/accounts_controller_spec.rb:60
39) Admin::AccountsController PUT 'update' should update @account
Failure/Error: before { put :update, :id => account.id, :account => account.attributes }
NoMethodError:
undefined method `paginate' for #<Class:0x1084d6f30>
# /Users/phlipper/Projects/thincloud_base/lib/crud_actions.rb:55:in `find_collection'
# ./spec/controllers/admin/accounts_controller_spec.rb:73
40) Admin::AccountsController PUT 'update' should redirect to account
Failure/Error: before { put :update, :id => account.id, :account => account.attributes }
NoMethodError:
undefined method `paginate' for #<Class:0x1084d6f30>
# /Users/phlipper/Projects/thincloud_base/lib/crud_actions.rb:55:in `find_collection'
# ./spec/controllers/admin/accounts_controller_spec.rb:73
41) Account::UsersController GET 'edit' should set @user
Failure/Error: before { get :edit, :id => user.id }
NoMethodError:
undefined method `paginate' for #<Class:0x10814dc60>
# /Users/phlipper/Projects/thincloud_base/lib/crud_actions.rb:55:in `find_collection'
# ./spec/controllers/account/users_controller_spec.rb:28
42) Account::UsersController GET 'edit' should render form
Failure/Error: before { get :edit, :id => user.id }
NoMethodError:
undefined method `paginate' for #<Class:0x10814dc60>
# /Users/phlipper/Projects/thincloud_base/lib/crud_actions.rb:55:in `find_collection'
# ./spec/controllers/account/users_controller_spec.rb:28
43) Account::UsersController PUT 'update' should update @user
Failure/Error: before { put :update, :id => user.id, :user => user.attributes }
NoMethodError:
undefined method `paginate' for #<Class:0x10814dc60>
# /Users/phlipper/Projects/thincloud_base/lib/crud_actions.rb:55:in `find_collection'
# ./spec/controllers/account/users_controller_spec.rb:41
44) Account::UsersController PUT 'update' should redirect to user
Failure/Error: before { put :update, :id => user.id, :user => user.attributes }
NoMethodError:
undefined method `paginate' for #<Class:0x10814dc60>
# /Users/phlipper/Projects/thincloud_base/lib/crud_actions.rb:55:in `find_collection'
# ./spec/controllers/account/users_controller_spec.rb:41
45) Account::UsersController PUT 'update' should set the flash notice
Failure/Error: before { put :update, :id => user.id, :user => user.attributes }
NoMethodError:
undefined method `paginate' for #<Class:0x10814dc60>
# /Users/phlipper/Projects/thincloud_base/lib/crud_actions.rb:55:in `find_collection'
# ./spec/controllers/account/users_controller_spec.rb:41
46) A parent campaign for $20,000.00 with (3) $1,000 donations today should have 0 descendants
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
47) A parent campaign for $20,000.00 with (3) $1,000 donations today should have a total of 3 donations
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
48) A parent campaign for $20,000.00 with (3) $1,000 donations today should have a goal of 2000000
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
49) A parent campaign for $20,000.00 with (3) $1,000 donations today should have an average donation of 1000.0
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
50) A parent campaign for $20,000.00 with (3) $1,000 donations today should report 300000 total raised
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
51) A parent campaign for $20,000.00 with (3) $1,000 donations today should present 3000.0 total raised via in_dollars
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
52) A parent campaign for $20,000.00 with (3) $1,000 donations today should report 300000 raised today
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
53) A parent campaign for $20,000.00 with (3) $1,000 donations today should present 3000.0 raised today via in_dollars
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
54) A parent campaign for $20,000.00 with (3) $1,000 donations today should report 300000 raised this month
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
55) A parent campaign for $20,000.00 with (3) $1,000 donations today should present 3000.0 raised this month via in_dollars
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
56) A parent campaign for $20,000.00 with (3) $1,000 donations today should report 0.15 raised
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
57) A parent campaign for $20,000.00 with (3) $1,000 donations today should present 15.0 raised as percentage
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
58) A parent campaign for $20,000.00 with (3) $1,000 donations today should report 0.85 remaining
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
59) A parent campaign for $20,000.00 with (3) $1,000 donations today should present 85.0 remaining as percentage
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
60) A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today should have one subcampaign
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
61) A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today should have a total of 6 donations
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
62) A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today should still have a total goal of 2000000
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
63) A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today should have an average donation of 750.0
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
64) A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today should report 450000 total raised
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
65) A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today should present 4500.0 total raised via in_dollars
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
66) A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today should report 450000 raised today
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
67) A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today should present 4500.0 raised today via in_dollars
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
68) A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today should report 450000 raised this month
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
69) A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today should present 4500.0 raised this month via in_dollars
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
70) A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today should report 0.225 raised
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
71) A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today should present 22.5 raised as percentage
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
72) A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today should report 0.775 remaining
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
73) A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today should present 77.5 remaining as percentage
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
74) A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today with a subcampaign of its own for $5,000.00 with (3) $200 donations today should have a total of 9 donations
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
75) A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today with a subcampaign of its own for $5,000.00 with (3) $200 donations today should still have a total goal of 2000000
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
76) A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today with a subcampaign of its own for $5,000.00 with (3) $200 donations today should have an average donation of 566.67
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
77) A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today with a subcampaign of its own for $5,000.00 with (3) $200 donations today should report 510000 total raised
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
78) A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today with a subcampaign of its own for $5,000.00 with (3) $200 donations today should present 5100.0 total raised via in_dollars
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
79) A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today with a subcampaign of its own for $5,000.00 with (3) $200 donations today should report 510000 raised today
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
80) A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today with a subcampaign of its own for $5,000.00 with (3) $200 donations today should present 5100.0 raised today via in_dollars
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
81) A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today with a subcampaign of its own for $5,000.00 with (3) $200 donations today should report 510000 raised this month
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
82) A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today with a subcampaign of its own for $5,000.00 with (3) $200 donations today should present 5100.0 raised this month via in_dollars
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
83) A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today with a subcampaign of its own for $5,000.00 with (3) $200 donations today should report 0.225 raised
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
84) A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today with a subcampaign of its own for $5,000.00 with (3) $200 donations today should present 22.5 raised as percentage
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
85) A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today with a subcampaign of its own for $5,000.00 with (3) $200 donations today should report 0.775 remaining
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
86) A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today with a subcampaign of its own for $5,000.00 with (3) $200 donations today should present 77.5 remaining as percentage
Failure/Error: parent.donations.create(donation_attrs)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:95
# ./spec/models/campaign_spec.rb:92:in `times'
# ./spec/models/campaign_spec.rb:92
87) A Campaign with a goal of $10,000.00 that is under its goal by $2,500 should have an average donation of 2500.0
Failure/Error: before { 3.times { Factory(:donation, :campaign => campaign, :amount_in_dollars => '$2,500.00') } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:296
# ./spec/models/campaign_spec.rb:296:in `times'
# ./spec/models/campaign_spec.rb:296
88) A Campaign with a goal of $10,000.00 that is under its goal by $2,500 should have raised 750000
Failure/Error: before { 3.times { Factory(:donation, :campaign => campaign, :amount_in_dollars => '$2,500.00') } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:296
# ./spec/models/campaign_spec.rb:296:in `times'
# ./spec/models/campaign_spec.rb:296
89) A Campaign with a goal of $10,000.00 that is under its goal by $2,500 should have .25 percent remaining
Failure/Error: before { 3.times { Factory(:donation, :campaign => campaign, :amount_in_dollars => '$2,500.00') } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:296
# ./spec/models/campaign_spec.rb:296:in `times'
# ./spec/models/campaign_spec.rb:296
90) A Campaign with a goal of $10,000.00 that has reached its goal should have an average donation of 2500.0
Failure/Error: before { 4.times { Factory(:donation, :campaign => campaign, :amount_in_dollars => '$2,500.00') } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:312
# ./spec/models/campaign_spec.rb:312:in `times'
# ./spec/models/campaign_spec.rb:312
91) A Campaign with a goal of $10,000.00 that has reached its goal should have raised 1000000
Failure/Error: before { 4.times { Factory(:donation, :campaign => campaign, :amount_in_dollars => '$2,500.00') } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:312
# ./spec/models/campaign_spec.rb:312:in `times'
# ./spec/models/campaign_spec.rb:312
92) A Campaign with a goal of $10,000.00 that has reached its goal should not have any percentage remaining
Failure/Error: before { 4.times { Factory(:donation, :campaign => campaign, :amount_in_dollars => '$2,500.00') } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:312
# ./spec/models/campaign_spec.rb:312:in `times'
# ./spec/models/campaign_spec.rb:312
93) A Campaign with a goal of $10,000.00 that is over its goal should have an average donation of 2500.0
Failure/Error: before { 5.times { Factory(:donation, :campaign => campaign, :amount_in_dollars => '$2,500.00') } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:328
# ./spec/models/campaign_spec.rb:328:in `times'
# ./spec/models/campaign_spec.rb:328
94) A Campaign with a goal of $10,000.00 that is over its goal should have raised 1250000
Failure/Error: before { 5.times { Factory(:donation, :campaign => campaign, :amount_in_dollars => '$2,500.00') } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:328
# ./spec/models/campaign_spec.rb:328:in `times'
# ./spec/models/campaign_spec.rb:328
95) A Campaign with a goal of $10,000.00 that is over its goal should not have any percentage remaining
Failure/Error: before { 5.times { Factory(:donation, :campaign => campaign, :amount_in_dollars => '$2,500.00') } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:328
# ./spec/models/campaign_spec.rb:328:in `times'
# ./spec/models/campaign_spec.rb:328
96) A Campaign with a goal of $10,000.00 that that receives varied donation amounts should have an average donation of 345.67
Failure/Error: Factory(:donation, :campaign => campaign, :amount_in_dollars => a)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:351
# ./spec/models/campaign_spec.rb:350:in `each'
# ./spec/models/campaign_spec.rb:350
97) A Campaign with a goal of $10,000.00 that that receives varied donation amounts should have exactly 0.930866 remaining
Failure/Error: Factory(:donation, :campaign => campaign, :amount_in_dollars => a)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:351
# ./spec/models/campaign_spec.rb:350:in `each'
# ./spec/models/campaign_spec.rb:350
98) A Campaign with a goal of $10,000.00 that that receives varied donation amounts should present 93.09 (trimmed to 2 decimal places) percent remaining
Failure/Error: Factory(:donation, :campaign => campaign, :amount_in_dollars => a)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:351
# ./spec/models/campaign_spec.rb:350:in `each'
# ./spec/models/campaign_spec.rb:350
99) A Campaign with a donation should not be destroyable
Failure/Error: Factory(:donation, :campaign => campaign)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/campaign_spec.rb:402
100) Donation
Failure/Error: it { should belong_to(:campaign) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:53
101) Donation
Failure/Error: it { should belong_to(:pledge) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:54
102) Donation
Failure/Error: it { should have_one(:entry) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:55
103) Donation
Failure/Error: it { should validate_presence_of(:amount) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:59
104) Donation
Failure/Error: it { should validate_numericality_of(:amount).with_message('must be at least $1.00') }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:60
105) Donation
Failure/Error: ['1', '$1.00', '100', '100.10'].map { |v| it { should allow_value(v).for(:amount_in_dollars) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:61
106) Donation
Failure/Error: ['1', '$1.00', '100', '100.10'].map { |v| it { should allow_value(v).for(:amount_in_dollars) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:61
107) Donation
Failure/Error: ['1', '$1.00', '100', '100.10'].map { |v| it { should allow_value(v).for(:amount_in_dollars) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:61
108) Donation
Failure/Error: ['1', '$1.00', '100', '100.10'].map { |v| it { should allow_value(v).for(:amount_in_dollars) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:61
109) Donation
Failure/Error: [nil, '', '[email protected]', '[email protected]'].map { |v| it { should allow_value(v).for(:email) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:75
110) Donation
Failure/Error: [nil, '', '[email protected]', '[email protected]'].map { |v| it { should allow_value(v).for(:email) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:75
111) Donation
Failure/Error: [nil, '', '[email protected]', '[email protected]'].map { |v| it { should allow_value(v).for(:email) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:75
112) Donation
Failure/Error: [nil, '', '[email protected]', '[email protected]'].map { |v| it { should allow_value(v).for(:email) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:75
113) Donation
Failure/Error: ['domain.net', '@me.com'].map { |v| it { should_not allow_value(v).for(:email) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:76
114) Donation
Failure/Error: ['domain.net', '@me.com'].map { |v| it { should_not allow_value(v).for(:email) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:76
115) Donation
Failure/Error: Donation::SOURCE_TYPES.map { |v| it { should allow_value(v).for(:source) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:79
116) Donation
Failure/Error: Donation::SOURCE_TYPES.map { |v| it { should allow_value(v).for(:source) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:79
117) Donation
Failure/Error: ['', 'other'].map { |v| it { should_not allow_value(v).for(:source) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:80
118) Donation
Failure/Error: ['', 'other'].map { |v| it { should_not allow_value(v).for(:source) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:80
119) Donation
Failure/Error: Donation::DONOR_TYPES.map { |v| it { should allow_value(v).for(:donor_type) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:83
120) Donation
Failure/Error: Donation::DONOR_TYPES.map { |v| it { should allow_value(v).for(:donor_type) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:83
121) Donation
Failure/Error: ['', 'other'].map { |v| it { should_not allow_value(v).for(:donor_type) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:84
122) Donation
Failure/Error: ['', 'other'].map { |v| it { should_not allow_value(v).for(:donor_type) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:84
123) Donation
Failure/Error: Carmen.state_codes.rand.map { |v| it { should allow_value(v).for(:state) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:86
124) Donation
Failure/Error: ['other'].map { |v| it { should_not allow_value(v).for(:state) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:87
125) Donation
Failure/Error: ['12345',12345,' 12345 '].map { |v| it { should allow_value(v).for(:zip) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:89
126) Donation
Failure/Error: ['12345',12345,' 12345 '].map { |v| it { should allow_value(v).for(:zip) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:89
127) Donation
Failure/Error: ['12345',12345,' 12345 '].map { |v| it { should allow_value(v).for(:zip) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:89
128) Donation
Failure/Error: ['other',01234].map { |v| it { should_not allow_value(v).for(:zip) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:90
129) Donation
Failure/Error: ['other',01234].map { |v| it { should_not allow_value(v).for(:zip) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:90
130) Donation
Failure/Error: ['A','a',' A '].map { |v| it { should allow_value(v).for(:middle_initial) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:92
131) Donation
Failure/Error: ['A','a',' A '].map { |v| it { should allow_value(v).for(:middle_initial) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:92
132) Donation
Failure/Error: ['A','a',' A '].map { |v| it { should allow_value(v).for(:middle_initial) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:92
133) Donation
Failure/Error: ['other','1','-'].map { |v| it { should_not allow_value(v).for(:middle_initial) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:93
134) Donation
Failure/Error: ['other','1','-'].map { |v| it { should_not allow_value(v).for(:middle_initial) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:93
135) Donation
Failure/Error: ['other','1','-'].map { |v| it { should_not allow_value(v).for(:middle_initial) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:93
136) Donation
Failure/Error: it { should_not validate_presence_of(:phone) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:95
137) Donation should have a virtual attribute for card_number
Failure/Error: should respond_to(:card_number)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:138
138) Donation should determine capturability
Failure/Error: should respond_to(:capturable?)
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:143
139) Donation with an invalid amount of 0 should have an error about the invalid amount
Failure/Error: let(:donation) { Factory(:donation) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:51
# ./spec/models/donation_spec.rb:65
140) Donation with an invalid amount of 0 should have an error about the invalid amount
Failure/Error: let(:donation) { Factory(:donation) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:51
# ./spec/models/donation_spec.rb:65
141) Donation with an invalid amount of $0.00 should have an error about the invalid amount
Failure/Error: let(:donation) { Factory(:donation) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:51
# ./spec/models/donation_spec.rb:65
142) Donation with an invalid amount of -$100.00 should have an error about the invalid amount
Failure/Error: let(:donation) { Factory(:donation) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:51
# ./spec/models/donation_spec.rb:65
143) Donation with an invalid amount of -100 should have an error about the invalid amount
Failure/Error: let(:donation) { Factory(:donation) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:51
# ./spec/models/donation_spec.rb:65
144) Donation with an invalid amount of -100.10 should have an error about the invalid amount
Failure/Error: let(:donation) { Factory(:donation) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:51
# ./spec/models/donation_spec.rb:65
145) Donation with an invalid amount of 0.99 should have an error about the invalid amount
Failure/Error: let(:donation) { Factory(:donation) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:51
# ./spec/models/donation_spec.rb:65
146) Donation is addressable
Failure/Error: it { should respond_to(:address) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:98
147) Donation is addressable
Failure/Error: it { should respond_to(:address_in_html) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:99
148) Donation that is capturable should validate_presence_of :phone
Failure/Error: let(:donation) { Factory(:donation) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:51
# ./spec/models/donation_spec.rb:104
149) Donation that is capturable
Failure/Error: let(:donation) { Factory(:donation) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:51
# ./spec/models/donation_spec.rb:104
150) Donation that is capturable
Failure/Error: let(:donation) { Factory(:donation) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:51
# ./spec/models/donation_spec.rb:104
151) Donation that is capturable
Failure/Error: let(:donation) { Factory(:donation) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:51
# ./spec/models/donation_spec.rb:104
152) Donation that is capturable with an invalid phone number of 555-444-121 should have an error about the phone format
Failure/Error: let(:donation) { Factory(:donation) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:51
# ./spec/models/donation_spec.rb:104
153) Donation that is capturable with an invalid phone number of 333-1212 should have an error about the phone format
Failure/Error: let(:donation) { Factory(:donation) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:51
# ./spec/models/donation_spec.rb:104
154) Donation that is capturable with an invalid phone number of 80055544441234 should have an error about the phone format
Failure/Error: let(:donation) { Factory(:donation) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:51
# ./spec/models/donation_spec.rb:104
155) Donation with fees should have a default base_rate
Failure/Error: let(:d0) { c0.donations.build }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:153
# ./spec/models/donation_spec.rb:156
156) Donation with fees should have a default referral_rate
Failure/Error: let(:d0) { c0.donations.build }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:153
# ./spec/models/donation_spec.rb:160
157) Donation with fees should have a default transcation_cost
Failure/Error: let(:d0) { c0.donations.build }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:153
# ./spec/models/donation_spec.rb:164
158) Donation and an account with cached rates should have a campaign
Failure/Error: let(:d1) { c1.donations.build }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:171
# ./spec/models/donation_spec.rb:178
159) Donation and an account with cached rates should have cached base rate of 7.5%
Failure/Error: let(:d1) { c1.donations.build }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:171
# ./spec/models/donation_spec.rb:182
160) Donation and an amount should have a gross donation amount
Failure/Error: let(:d2) { c2.donations.build(:amount_in_dollars => "$100") }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:190
# ./spec/models/donation_spec.rb:193
161) Donation and an amount should have a net amount that is less than the gross
Failure/Error: let(:d2) { c2.donations.build(:amount_in_dollars => "$100") }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:190
# ./spec/models/donation_spec.rb:197
162) Donation and an amount should have a fee amount
Failure/Error: let(:d2) { c2.donations.build(:amount_in_dollars => "$100") }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:190
# ./spec/models/donation_spec.rb:201
163) Donation and an amount should have a transaction cost in dollars
Failure/Error: let(:d2) { c2.donations.build(:amount_in_dollars => "$100") }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:190
# ./spec/models/donation_spec.rb:205
164) Donation with an individual should output the individual's name
Failure/Error: let(:donation) { Donation.new(:first_name => "Robert", :middle_initial => "J", :last_name => "Bousquet") }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:210:in `new'
# ./spec/models/donation_spec.rb:210
# ./spec/models/donation_spec.rb:213
165) Donation with an individual should also pass back the individual's name from the name method
Failure/Error: let(:donation) { Donation.new(:first_name => "Robert", :middle_initial => "J", :last_name => "Bousquet") }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:210:in `new'
# ./spec/models/donation_spec.rb:210
# ./spec/models/donation_spec.rb:217
166) Donation with an organization should return the organization name from the name method
Failure/Error: let(:donation) { Donation.new(:donor_type => 'organization', :organization => 'Girl Scouts') }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:222:in `new'
# ./spec/models/donation_spec.rb:222
# ./spec/models/donation_spec.rb:225
167) Donation with a partial address should output a formatted address string
Failure/Error: let(:donation) { Donation.new(:city => 'Anytown', :state => 'CA') }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:230:in `new'
# ./spec/models/donation_spec.rb:230
# ./spec/models/donation_spec.rb:233
168) Donation with a partial address and the rest of the address should have a fully formatted address
Failure/Error: let(:donation) { Donation.new(:city => 'Anytown', :state => 'CA') }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:230:in `new'
# ./spec/models/donation_spec.rb:230
# ./spec/models/donation_spec.rb:238
169) Donation with a partial address and the rest of the address should also have an html formatted version
Failure/Error: let(:donation) { Donation.new(:city => 'Anytown', :state => 'CA') }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:230:in `new'
# ./spec/models/donation_spec.rb:230
# ./spec/models/donation_spec.rb:238
170) Donation with 3 records for today should have 3 records total
Failure/Error: before { 3.times { Factory(:donation, :date => today) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:253
# ./spec/models/donation_spec.rb:253:in `times'
# ./spec/models/donation_spec.rb:253
171) Donation with 3 records for today should have 3 records for today
Failure/Error: before { 3.times { Factory(:donation, :date => today) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:253
# ./spec/models/donation_spec.rb:253:in `times'
# ./spec/models/donation_spec.rb:253
172) Donation with 3 records for today should not have any records for yesterday
Failure/Error: before { 3.times { Factory(:donation, :date => today) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:253
# ./spec/models/donation_spec.rb:253:in `times'
# ./spec/models/donation_spec.rb:253
173) Donation with 3 records for today should have 3 records for this month
Failure/Error: before { 3.times { Factory(:donation, :date => today) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:253
# ./spec/models/donation_spec.rb:253:in `times'
# ./spec/models/donation_spec.rb:253
174) Donation with 3 records for yesterday should have 3 records for yesterday
Failure/Error: before { 3.times { Factory(:donation, :date => yesterday) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:273
# ./spec/models/donation_spec.rb:273:in `times'
# ./spec/models/donation_spec.rb:273
175) Donation with 3 records for yesterday should not have any records for today
Failure/Error: before { 3.times { Factory(:donation, :date => yesterday) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:273
# ./spec/models/donation_spec.rb:273:in `times'
# ./spec/models/donation_spec.rb:273
176) Donation with 3 records for yesterday should have 3 records for yesterday's month
Failure/Error: before { 3.times { Factory(:donation, :date => yesterday) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:273
# ./spec/models/donation_spec.rb:273:in `times'
# ./spec/models/donation_spec.rb:273
177) Donation with 4 records for last month should not have any records for today
Failure/Error: 2.times { Factory(:donation, :date => beginning_of_last_month) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:290
# ./spec/models/donation_spec.rb:290:in `times'
# ./spec/models/donation_spec.rb:290
178) Donation with 4 records for last month should not have any records for this month
Failure/Error: 2.times { Factory(:donation, :date => beginning_of_last_month) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:290
# ./spec/models/donation_spec.rb:290:in `times'
# ./spec/models/donation_spec.rb:290
179) Donation with 4 records for last month should have 4 records for last month
Failure/Error: 2.times { Factory(:donation, :date => beginning_of_last_month) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:290
# ./spec/models/donation_spec.rb:290:in `times'
# ./spec/models/donation_spec.rb:290
180) Donation with 4 records for last month should not have any records for 2 months ago
Failure/Error: 2.times { Factory(:donation, :date => beginning_of_last_month) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:290
# ./spec/models/donation_spec.rb:290:in `times'
# ./spec/models/donation_spec.rb:290
181) Donation a check payment should not be capturable
Failure/Error: let(:donation) { Donation.new(:source => 'check') }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:313:in `new'
# ./spec/models/donation_spec.rb:313
# ./spec/models/donation_spec.rb:316
182) Donation a check payment should not require address information
Failure/Error: let(:donation) { Donation.new(:source => 'check') }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:313:in `new'
# ./spec/models/donation_spec.rb:313
# ./spec/models/donation_spec.rb:320
183) Donation a credit card payment should require address information
Failure/Error: let(:donation) { Donation.new(:source => 'card', :street => nil) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:327:in `new'
# ./spec/models/donation_spec.rb:327
# ./spec/models/donation_spec.rb:329
184) A Donation by check should be deletable
Failure/Error: let!(:donation) { Factory(:donation, :source => 'check') }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:340
185) A Donation by card should not be destroyable
Failure/Error: let(:donation) { Factory.build(:donation, :source => 'card') }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:349
# ./spec/models/donation_spec.rb:351
186) with an excessive amount should have errors on amount
Failure/Error: let(:donation) { Factory.build(:donation, :campaign => campaign, :amount_in_dollars => "101") }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:361
# ./spec/models/donation_spec.rb:363
187) with campaign legal terms should have errors on the terms
Failure/Error: let(:donation) { Factory.build(:donation, :campaign => campaign, :terms => '0') }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/models/donation_spec.rb:373
# ./spec/models/donation_spec.rb:375
188) A Donation populated from a Pledge
Failure/Error: let(:donation) { Donation.populate_from_pledge(pledge) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/models/donation.rb:128:in `new'
# ./app/models/donation.rb:128:in `populate_from_pledge'
# ./spec/models/donation_spec.rb:385
# ./spec/models/donation_spec.rb:387
189) A Donation populated from a Pledge
Failure/Error: let(:donation) { Donation.populate_from_pledge(pledge) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/models/donation.rb:128:in `new'
# ./app/models/donation.rb:128:in `populate_from_pledge'
# ./spec/models/donation_spec.rb:385
# ./spec/models/donation_spec.rb:388
190) A Donation populated from a Pledge
Failure/Error: let(:donation) { Donation.populate_from_pledge(pledge) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/models/donation.rb:128:in `new'
# ./app/models/donation.rb:128:in `populate_from_pledge'
# ./spec/models/donation_spec.rb:385
# ./spec/models/donation_spec.rb:389
191) A Donation populated from a Pledge
Failure/Error: let(:donation) { Donation.populate_from_pledge(pledge) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/models/donation.rb:128:in `new'
# ./app/models/donation.rb:128:in `populate_from_pledge'
# ./spec/models/donation_spec.rb:385
# ./spec/models/donation_spec.rb:390
192) A Donation populated from a Pledge
Failure/Error: let(:donation) { Donation.populate_from_pledge(pledge) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/models/donation.rb:128:in `new'
# ./app/models/donation.rb:128:in `populate_from_pledge'
# ./spec/models/donation_spec.rb:385
# ./spec/models/donation_spec.rb:391
193) A Donation populated from a Pledge
Failure/Error: let(:donation) { Donation.populate_from_pledge(pledge) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/models/donation.rb:128:in `new'
# ./app/models/donation.rb:128:in `populate_from_pledge'
# ./spec/models/donation_spec.rb:385
# ./spec/models/donation_spec.rb:392
194) A Donation populated from a Pledge
Failure/Error: let(:donation) { Donation.populate_from_pledge(pledge) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/models/donation.rb:128:in `new'
# ./app/models/donation.rb:128:in `populate_from_pledge'
# ./spec/models/donation_spec.rb:385
# ./spec/models/donation_spec.rb:393
195) A Donation populated from a Pledge
Failure/Error: let(:donation) { Donation.populate_from_pledge(pledge) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/models/donation.rb:128:in `new'
# ./app/models/donation.rb:128:in `populate_from_pledge'
# ./spec/models/donation_spec.rb:385
# ./spec/models/donation_spec.rb:394
196) A Donation populated from a Pledge
Failure/Error: let(:donation) { Donation.populate_from_pledge(pledge) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/models/donation.rb:128:in `new'
# ./app/models/donation.rb:128:in `populate_from_pledge'
# ./spec/models/donation_spec.rb:385
# ./spec/models/donation_spec.rb:395
197) A Donation populated from a Pledge
Failure/Error: let(:donation) { Donation.populate_from_pledge(pledge) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/models/donation.rb:128:in `new'
# ./app/models/donation.rb:128:in `populate_from_pledge'
# ./spec/models/donation_spec.rb:385
# ./spec/models/donation_spec.rb:396
198) A Donation populated from a Pledge
Failure/Error: let(:donation) { Donation.populate_from_pledge(pledge) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/models/donation.rb:128:in `new'
# ./app/models/donation.rb:128:in `populate_from_pledge'
# ./spec/models/donation_spec.rb:385
# ./spec/models/donation_spec.rb:397
199) A Donation populated from a Pledge
Failure/Error: let(:donation) { Donation.populate_from_pledge(pledge) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/models/donation.rb:128:in `new'
# ./app/models/donation.rb:128:in `populate_from_pledge'
# ./spec/models/donation_spec.rb:385
# ./spec/models/donation_spec.rb:398
200) A Donation populated from a Pledge
Failure/Error: let(:donation) { Donation.populate_from_pledge(pledge) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/models/donation.rb:128:in `new'
# ./app/models/donation.rb:128:in `populate_from_pledge'
# ./spec/models/donation_spec.rb:385
# ./spec/models/donation_spec.rb:399
201) A Donation populated from a Pledge
Failure/Error: let(:donation) { Donation.populate_from_pledge(pledge) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/models/donation.rb:128:in `new'
# ./app/models/donation.rb:128:in `populate_from_pledge'
# ./spec/models/donation_spec.rb:385
# ./spec/models/donation_spec.rb:400
202) A Donation populated from a Pledge
Failure/Error: let(:donation) { Donation.populate_from_pledge(pledge) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/models/donation.rb:128:in `new'
# ./app/models/donation.rb:128:in `populate_from_pledge'
# ./spec/models/donation_spec.rb:385
# ./spec/models/donation_spec.rb:401
203) A Donation populated from a Pledge
Failure/Error: let(:donation) { Donation.populate_from_pledge(pledge) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/models/donation.rb:128:in `new'
# ./app/models/donation.rb:128:in `populate_from_pledge'
# ./spec/models/donation_spec.rb:385
# ./spec/models/donation_spec.rb:402
204) A Donation populated from a Pledge
Failure/Error: let(:donation) { Donation.populate_from_pledge(pledge) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/models/donation.rb:128:in `new'
# ./app/models/donation.rb:128:in `populate_from_pledge'
# ./spec/models/donation_spec.rb:385
# ./spec/models/donation_spec.rb:403
205) A campaign viewed by a campaign admin without donations visiting donations#index
Failure/Error: before { visit send("#{namespace}_#{donatables}_url") }
ActionView::Template::Error:
compile error
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:66: syntax error, unexpected kENSURE, expecting ')'
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:68: syntax error, unexpected kEND, expecting ')'
# ./app/views/shared/donatables/_donatables.html.erb:68:in `compile'
# ./app/views/account/donations/index.html.erb:2:in `_app_views_account_donations_index_html_erb__401539195_2175558280'
# /Users/phlipper/Projects/thincloud_base/lib/crud_actions.rb:10:in `index'
# ./spec/integration/donatables_spec.rb:12:in `view_from'
206) A campaign viewed by a campaign admin without donations visiting the campaign
Failure/Error: before { visit send("#{namespace}_campaign_url", campaign) }
ActionView::Template::Error:
compile error
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:66: syntax error, unexpected kENSURE, expecting ')'
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:68: syntax error, unexpected kEND, expecting ')'
# ./app/views/shared/donatables/_donatables.html.erb:68:in `compile'
# ./app/views/account/campaigns/show.html.erb:52:in `_app_views_account_campaigns_show_html_erb__1878971661_2174428580'
# /Users/phlipper/Projects/thincloud_base/lib/panel_builder.rb:11:in `panel'
# ./app/views/account/campaigns/show.html.erb:50:in `_app_views_account_campaigns_show_html_erb__1878971661_2174428580'
# /Users/phlipper/Projects/thincloud_base/lib/panel_builder.rb:7:in `initialize'
# /Users/phlipper/Projects/thincloud_base/app/helpers/thincloud_base_helper.rb:89:in `new'
# /Users/phlipper/Projects/thincloud_base/app/helpers/thincloud_base_helper.rb:89:in `tabbed_panels'
# ./app/views/account/campaigns/show.html.erb:48:in `_app_views_account_campaigns_show_html_erb__1878971661_2174428580'
# ./spec/integration/donatables_spec.rb:17:in `view_from'
207) A campaign viewed by a campaign admin with a donation visiting donations#index without a campaign_id
Failure/Error: let!(:donatable) { Factory(donatables.singularize, :campaign => campaign) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/integration/donatables_spec.rb:23:in `view_from'
208) A campaign viewed by a campaign admin with a donation visiting donations#index with a campaign_id
Failure/Error: let!(:donatable) { Factory(donatables.singularize, :campaign => campaign) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/integration/donatables_spec.rb:23:in `view_from'
209) A campaign viewed by a campaign admin with a donation visiting the campaign
Failure/Error: let!(:donatable) { Factory(donatables.singularize, :campaign => campaign) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/integration/donatables_spec.rb:23:in `view_from'
210) A campaign viewed by a campaign admin with a donation visiting the campaign
Failure/Error: let!(:donatable) { Factory(donatables.singularize, :campaign => campaign) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/integration/donatables_spec.rb:23:in `view_from'
211) A campaign viewed by a campaign admin with 25 donations visiting the campaign
Failure/Error: before { 25.times { Factory(donatables.singularize, :campaign => campaign) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/integration/donatables_spec.rb:43:in `view_from'
# ./spec/integration/donatables_spec.rb:43:in `times'
# ./spec/integration/donatables_spec.rb:43:in `view_from'
212) A campaign viewed by a campaign admin without pledges visiting pledges#index
Failure/Error: before { visit send("#{namespace}_#{donatables}_url") }
ActionView::Template::Error:
compile error
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:66: syntax error, unexpected kENSURE, expecting ')'
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:68: syntax error, unexpected kEND, expecting ')'
# ./app/views/shared/donatables/_donatables.html.erb:68:in `compile'
# ./app/views/account/pledges/index.html.erb:2:in `_app_views_account_pledges_index_html_erb__157958216_2241444320'
# /Users/phlipper/Projects/thincloud_base/lib/crud_actions.rb:10:in `index'
# ./spec/integration/donatables_spec.rb:12:in `view_from'
213) A campaign viewed by a campaign admin without pledges visiting the campaign
Failure/Error: before { visit send("#{namespace}_campaign_url", campaign) }
ActionView::Template::Error:
compile error
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:66: syntax error, unexpected kENSURE, expecting ')'
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:68: syntax error, unexpected kEND, expecting ')'
# ./app/views/shared/donatables/_donatables.html.erb:68:in `compile'
# ./app/views/account/campaigns/show.html.erb:52:in `_app_views_account_campaigns_show_html_erb__1878971661_2174428580'
# /Users/phlipper/Projects/thincloud_base/lib/panel_builder.rb:11:in `panel'
# ./app/views/account/campaigns/show.html.erb:50:in `_app_views_account_campaigns_show_html_erb__1878971661_2174428580'
# /Users/phlipper/Projects/thincloud_base/lib/panel_builder.rb:7:in `initialize'
# /Users/phlipper/Projects/thincloud_base/app/helpers/thincloud_base_helper.rb:89:in `new'
# /Users/phlipper/Projects/thincloud_base/app/helpers/thincloud_base_helper.rb:89:in `tabbed_panels'
# ./app/views/account/campaigns/show.html.erb:48:in `_app_views_account_campaigns_show_html_erb__1878971661_2174428580'
# ./spec/integration/donatables_spec.rb:17:in `view_from'
214) A campaign viewed by a campaign admin with a donation visiting pledges#index without a campaign_id
Failure/Error: before { visit send("#{namespace}_#{donatables}_url") }
ActionView::Template::Error:
compile error
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:66: syntax error, unexpected kENSURE, expecting ')'
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:68: syntax error, unexpected kEND, expecting ')'
# ./app/views/shared/donatables/_donatables.html.erb:68:in `compile'
# ./app/views/account/pledges/index.html.erb:2:in `_app_views_account_pledges_index_html_erb__157958216_2241444320'
# /Users/phlipper/Projects/thincloud_base/lib/crud_actions.rb:10:in `index'
# ./spec/integration/donatables_spec.rb:26:in `view_from'
215) A campaign viewed by a campaign admin with a donation visiting pledges#index with a campaign_id
Failure/Error: before { visit send("#{namespace}_#{donatables}_url", :campaign_id => campaign.id) }
ActionView::Template::Error:
compile error
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:66: syntax error, unexpected kENSURE, expecting ')'
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:68: syntax error, unexpected kEND, expecting ')'
# ./app/views/shared/donatables/_donatables.html.erb:68:in `compile'
# ./app/views/account/pledges/index.html.erb:2:in `_app_views_account_pledges_index_html_erb__157958216_2241444320'
# /Users/phlipper/Projects/thincloud_base/lib/crud_actions.rb:10:in `index'
# ./spec/integration/donatables_spec.rb:31:in `view_from'
216) A campaign viewed by a campaign admin with a donation visiting the campaign
Failure/Error: before { visit send("#{namespace}_campaign_url", campaign) }
ActionView::Template::Error:
compile error
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:66: syntax error, unexpected kENSURE, expecting ')'
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:68: syntax error, unexpected kEND, expecting ')'
# ./app/views/shared/donatables/_donatables.html.erb:68:in `compile'
# ./app/views/account/campaigns/show.html.erb:52:in `_app_views_account_campaigns_show_html_erb__1878971661_2174428580'
# /Users/phlipper/Projects/thincloud_base/lib/panel_builder.rb:11:in `panel'
# ./app/views/account/campaigns/show.html.erb:50:in `_app_views_account_campaigns_show_html_erb__1878971661_2174428580'
# /Users/phlipper/Projects/thincloud_base/lib/panel_builder.rb:7:in `initialize'
# /Users/phlipper/Projects/thincloud_base/app/helpers/thincloud_base_helper.rb:89:in `new'
# /Users/phlipper/Projects/thincloud_base/app/helpers/thincloud_base_helper.rb:89:in `tabbed_panels'
# ./app/views/account/campaigns/show.html.erb:48:in `_app_views_account_campaigns_show_html_erb__1878971661_2174428580'
# ./spec/integration/donatables_spec.rb:36:in `view_from'
217) A campaign viewed by a campaign admin with a donation visiting the campaign
Failure/Error: before { visit send("#{namespace}_campaign_url", campaign) }
ActionView::Template::Error:
compile error
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:66: syntax error, unexpected kENSURE, expecting ')'
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:68: syntax error, unexpected kEND, expecting ')'
# ./app/views/shared/donatables/_donatables.html.erb:68:in `compile'
# ./app/views/account/campaigns/show.html.erb:52:in `_app_views_account_campaigns_show_html_erb__1878971661_2174428580'
# /Users/phlipper/Projects/thincloud_base/lib/panel_builder.rb:11:in `panel'
# ./app/views/account/campaigns/show.html.erb:50:in `_app_views_account_campaigns_show_html_erb__1878971661_2174428580'
# /Users/phlipper/Projects/thincloud_base/lib/panel_builder.rb:7:in `initialize'
# /Users/phlipper/Projects/thincloud_base/app/helpers/thincloud_base_helper.rb:89:in `new'
# /Users/phlipper/Projects/thincloud_base/app/helpers/thincloud_base_helper.rb:89:in `tabbed_panels'
# ./app/views/account/campaigns/show.html.erb:48:in `_app_views_account_campaigns_show_html_erb__1878971661_2174428580'
# ./spec/integration/donatables_spec.rb:36:in `view_from'
218) A campaign viewed by a campaign admin with 25 pledges visiting the campaign
Failure/Error: before { visit send("#{namespace}_campaign_url", campaign) }
ActionView::Template::Error:
compile error
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:66: syntax error, unexpected kENSURE, expecting ')'
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:68: syntax error, unexpected kEND, expecting ')'
# ./app/views/shared/donatables/_donatables.html.erb:68:in `compile'
# ./app/views/account/campaigns/show.html.erb:52:in `_app_views_account_campaigns_show_html_erb__1878971661_2174428580'
# /Users/phlipper/Projects/thincloud_base/lib/panel_builder.rb:11:in `panel'
# ./app/views/account/campaigns/show.html.erb:50:in `_app_views_account_campaigns_show_html_erb__1878971661_2174428580'
# /Users/phlipper/Projects/thincloud_base/lib/panel_builder.rb:7:in `initialize'
# /Users/phlipper/Projects/thincloud_base/app/helpers/thincloud_base_helper.rb:89:in `new'
# /Users/phlipper/Projects/thincloud_base/app/helpers/thincloud_base_helper.rb:89:in `tabbed_panels'
# ./app/views/account/campaigns/show.html.erb:48:in `_app_views_account_campaigns_show_html_erb__1878971661_2174428580'
# ./spec/integration/donatables_spec.rb:46:in `view_from'
219) A campaign viewed by an Anedot admin without donations visiting donations#index
Failure/Error: before { visit send("#{namespace}_#{donatables}_url") }
ActionView::Template::Error:
compile error
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:66: syntax error, unexpected kENSURE, expecting ')'
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:68: syntax error, unexpected kEND, expecting ')'
# ./app/views/shared/donatables/_donatables.html.erb:68:in `compile'
# ./app/views/admin/donations/index.html.erb:1:in `_app_views_admin_donations_index_html_erb___1058633785_2228323360'
# /Users/phlipper/Projects/thincloud_base/lib/crud_actions.rb:10:in `index'
# ./spec/integration/donatables_spec.rb:12:in `view_from'
220) A campaign viewed by an Anedot admin without donations visiting the campaign
Failure/Error: before { visit send("#{namespace}_campaign_url", campaign) }
ActionView::Template::Error:
compile error
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:66: syntax error, unexpected kENSURE, expecting ')'
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:68: syntax error, unexpected kEND, expecting ')'
# ./app/views/shared/donatables/_donatables.html.erb:68:in `compile'
# ./app/views/admin/campaigns/show.html.erb:50:in `_app_views_admin_campaigns_show_html_erb___112391227_2222140340'
# /Users/phlipper/Projects/thincloud_base/lib/panel_builder.rb:11:in `panel'
# ./app/views/admin/campaigns/show.html.erb:45:in `_app_views_admin_campaigns_show_html_erb___112391227_2222140340'
# /Users/phlipper/Projects/thincloud_base/lib/panel_builder.rb:7:in `initialize'
# /Users/phlipper/Projects/thincloud_base/app/helpers/thincloud_base_helper.rb:89:in `new'
# /Users/phlipper/Projects/thincloud_base/app/helpers/thincloud_base_helper.rb:89:in `tabbed_panels'
# ./app/views/admin/campaigns/show.html.erb:43:in `_app_views_admin_campaigns_show_html_erb___112391227_2222140340'
# /Users/phlipper/Projects/thincloud_base/lib/crud_actions.rb:14:in `show'
# ./spec/integration/donatables_spec.rb:17:in `view_from'
221) A campaign viewed by an Anedot admin with a donation visiting donations#index without a campaign_id
Failure/Error: let!(:donatable) { Factory(donatables.singularize, :campaign => campaign) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/integration/donatables_spec.rb:23:in `view_from'
222) A campaign viewed by an Anedot admin with a donation visiting donations#index with a campaign_id
Failure/Error: let!(:donatable) { Factory(donatables.singularize, :campaign => campaign) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/integration/donatables_spec.rb:23:in `view_from'
223) A campaign viewed by an Anedot admin with a donation visiting the campaign
Failure/Error: let!(:donatable) { Factory(donatables.singularize, :campaign => campaign) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/integration/donatables_spec.rb:23:in `view_from'
224) A campaign viewed by an Anedot admin with a donation visiting the campaign
Failure/Error: let!(:donatable) { Factory(donatables.singularize, :campaign => campaign) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/integration/donatables_spec.rb:23:in `view_from'
225) A campaign viewed by an Anedot admin with 25 donations visiting the campaign
Failure/Error: before { 25.times { Factory(donatables.singularize, :campaign => campaign) } }
ArgumentError:
wrong number of arguments (0 for 2)
# ./spec/integration/donatables_spec.rb:43:in `view_from'
# ./spec/integration/donatables_spec.rb:43:in `times'
# ./spec/integration/donatables_spec.rb:43:in `view_from'
226) A campaign viewed by an Anedot admin without pledges visiting pledges#index
Failure/Error: before { visit send("#{namespace}_#{donatables}_url") }
ActionView::Template::Error:
compile error
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:66: syntax error, unexpected kENSURE, expecting ')'
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:68: syntax error, unexpected kEND, expecting ')'
# ./app/views/shared/donatables/_donatables.html.erb:68:in `compile'
# ./app/views/admin/pledges/index.html.erb:1:in `_app_views_admin_pledges_index_html_erb___730690932_2221332940'
# ./spec/integration/donatables_spec.rb:12:in `view_from'
227) A campaign viewed by an Anedot admin without pledges visiting the campaign
Failure/Error: before { visit send("#{namespace}_campaign_url", campaign) }
ActionView::Template::Error:
compile error
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:66: syntax error, unexpected kENSURE, expecting ')'
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:68: syntax error, unexpected kEND, expecting ')'
# ./app/views/shared/donatables/_donatables.html.erb:68:in `compile'
# ./app/views/admin/campaigns/show.html.erb:50:in `_app_views_admin_campaigns_show_html_erb___112391227_2222140340'
# /Users/phlipper/Projects/thincloud_base/lib/panel_builder.rb:11:in `panel'
# ./app/views/admin/campaigns/show.html.erb:45:in `_app_views_admin_campaigns_show_html_erb___112391227_2222140340'
# /Users/phlipper/Projects/thincloud_base/lib/panel_builder.rb:7:in `initialize'
# /Users/phlipper/Projects/thincloud_base/app/helpers/thincloud_base_helper.rb:89:in `new'
# /Users/phlipper/Projects/thincloud_base/app/helpers/thincloud_base_helper.rb:89:in `tabbed_panels'
# ./app/views/admin/campaigns/show.html.erb:43:in `_app_views_admin_campaigns_show_html_erb___112391227_2222140340'
# /Users/phlipper/Projects/thincloud_base/lib/crud_actions.rb:14:in `show'
# ./spec/integration/donatables_spec.rb:17:in `view_from'
228) A campaign viewed by an Anedot admin with a donation visiting pledges#index without a campaign_id
Failure/Error: before { visit send("#{namespace}_#{donatables}_url") }
ActionView::Template::Error:
compile error
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:66: syntax error, unexpected kENSURE, expecting ')'
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:68: syntax error, unexpected kEND, expecting ')'
# ./app/views/shared/donatables/_donatables.html.erb:68:in `compile'
# ./app/views/admin/pledges/index.html.erb:1:in `_app_views_admin_pledges_index_html_erb___730690932_2221332940'
# ./spec/integration/donatables_spec.rb:26:in `view_from'
229) A campaign viewed by an Anedot admin with a donation visiting pledges#index with a campaign_id
Failure/Error: before { visit send("#{namespace}_#{donatables}_url", :campaign_id => campaign.id) }
ActionView::Template::Error:
compile error
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:66: syntax error, unexpected kENSURE, expecting ')'
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:68: syntax error, unexpected kEND, expecting ')'
# ./app/views/shared/donatables/_donatables.html.erb:68:in `compile'
# ./app/views/admin/pledges/index.html.erb:1:in `_app_views_admin_pledges_index_html_erb___730690932_2221332940'
# ./spec/integration/donatables_spec.rb:31:in `view_from'
230) A campaign viewed by an Anedot admin with a donation visiting the campaign
Failure/Error: before { visit send("#{namespace}_campaign_url", campaign) }
ActionView::Template::Error:
compile error
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:66: syntax error, unexpected kENSURE, expecting ')'
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:68: syntax error, unexpected kEND, expecting ')'
# ./app/views/shared/donatables/_donatables.html.erb:68:in `compile'
# ./app/views/admin/campaigns/show.html.erb:50:in `_app_views_admin_campaigns_show_html_erb___112391227_2222140340'
# /Users/phlipper/Projects/thincloud_base/lib/panel_builder.rb:11:in `panel'
# ./app/views/admin/campaigns/show.html.erb:45:in `_app_views_admin_campaigns_show_html_erb___112391227_2222140340'
# /Users/phlipper/Projects/thincloud_base/lib/panel_builder.rb:7:in `initialize'
# /Users/phlipper/Projects/thincloud_base/app/helpers/thincloud_base_helper.rb:89:in `new'
# /Users/phlipper/Projects/thincloud_base/app/helpers/thincloud_base_helper.rb:89:in `tabbed_panels'
# ./app/views/admin/campaigns/show.html.erb:43:in `_app_views_admin_campaigns_show_html_erb___112391227_2222140340'
# /Users/phlipper/Projects/thincloud_base/lib/crud_actions.rb:14:in `show'
# ./spec/integration/donatables_spec.rb:36:in `view_from'
231) A campaign viewed by an Anedot admin with a donation visiting the campaign
Failure/Error: before { visit send("#{namespace}_campaign_url", campaign) }
ActionView::Template::Error:
compile error
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:66: syntax error, unexpected kENSURE, expecting ')'
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:68: syntax error, unexpected kEND, expecting ')'
# ./app/views/shared/donatables/_donatables.html.erb:68:in `compile'
# ./app/views/admin/campaigns/show.html.erb:50:in `_app_views_admin_campaigns_show_html_erb___112391227_2222140340'
# /Users/phlipper/Projects/thincloud_base/lib/panel_builder.rb:11:in `panel'
# ./app/views/admin/campaigns/show.html.erb:45:in `_app_views_admin_campaigns_show_html_erb___112391227_2222140340'
# /Users/phlipper/Projects/thincloud_base/lib/panel_builder.rb:7:in `initialize'
# /Users/phlipper/Projects/thincloud_base/app/helpers/thincloud_base_helper.rb:89:in `new'
# /Users/phlipper/Projects/thincloud_base/app/helpers/thincloud_base_helper.rb:89:in `tabbed_panels'
# ./app/views/admin/campaigns/show.html.erb:43:in `_app_views_admin_campaigns_show_html_erb___112391227_2222140340'
# /Users/phlipper/Projects/thincloud_base/lib/crud_actions.rb:14:in `show'
# ./spec/integration/donatables_spec.rb:36:in `view_from'
232) A campaign viewed by an Anedot admin with 25 pledges visiting the campaign
Failure/Error: before { visit send("#{namespace}_campaign_url", campaign) }
ActionView::Template::Error:
compile error
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:66: syntax error, unexpected kENSURE, expecting ')'
/Users/phlipper/Projects/anedot/app/views/shared/donatables/_donatables.html.erb:68: syntax error, unexpected kEND, expecting ')'
# ./app/views/shared/donatables/_donatables.html.erb:68:in `compile'
# ./app/views/admin/campaigns/show.html.erb:50:in `_app_views_admin_campaigns_show_html_erb___112391227_2222140340'
# /Users/phlipper/Projects/thincloud_base/lib/panel_builder.rb:11:in `panel'
# ./app/views/admin/campaigns/show.html.erb:45:in `_app_views_admin_campaigns_show_html_erb___112391227_2222140340'
# /Users/phlipper/Projects/thincloud_base/lib/panel_builder.rb:7:in `initialize'
# /Users/phlipper/Projects/thincloud_base/app/helpers/thincloud_base_helper.rb:89:in `new'
# /Users/phlipper/Projects/thincloud_base/app/helpers/thincloud_base_helper.rb:89:in `tabbed_panels'
# ./app/views/admin/campaigns/show.html.erb:43:in `_app_views_admin_campaigns_show_html_erb___112391227_2222140340'
# /Users/phlipper/Projects/thincloud_base/lib/crud_actions.rb:14:in `show'
# ./spec/integration/donatables_spec.rb:46:in `view_from'
233) Account::PledgesController GET 'index' should set pledges
Failure/Error: assigns[:pledges].should == assigns[:current_account].pledges
expected: [#<Pledge id: 101, campaign_id: 394, donor_type: "individual", title: nil, first_name: "Van", middle_initial: nil, last_name: "West", suffix: nil, organization: nil, email: "[email protected]", phone: "8883332211", street: "Maximo Plaza", city: "Port Bonnieview", state: "MP", zip: "13650", employer: nil, occupation: nil, date: "2011-06-12", amount: 60700, source: "check", legal: nil, created_at: "2011-07-09 04:46:26", updated_at: "2011-07-09 04:46:26">]
got: [#<Pledge id: 101, campaign_id: 394, donor_type: "individual", title: nil, first_name: "Van", middle_initial: nil, last_name: "West", suffix: nil, organization: nil, email: "[email protected]", phone: "8883332211", street: "Maximo Plaza", city: "Port Bonnieview", state: "MP", zip: "13650", employer: nil, occupation: nil, date: "2011-06-12", amount: 60700, source: "check", legal: nil, created_at: "2011-07-09 04:46:26", updated_at: "2011-07-09 04:46:26">] (using ==)
Diff:
# ./spec/controllers/account/pledges_controller_spec.rb:22
234) DonationsController GET 'new' with embed param should render the new template
Failure/Error: before { get :new, :campaign_id => campaign.id, :embed => 'standard' }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/controllers/donations_controller.rb:42:in `setup_donation'
# ./spec/controllers/donations_controller_spec.rb:24
235) DonationsController GET 'new' with embed param should render with the embed layout
Failure/Error: before { get :new, :campaign_id => campaign.id, :embed => 'standard' }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/controllers/donations_controller.rb:42:in `setup_donation'
# ./spec/controllers/donations_controller_spec.rb:24
236) DonationsController GET 'new' should set @campaign
Failure/Error: before { get :new, :campaign_id => campaign.id }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/controllers/donations_controller.rb:42:in `setup_donation'
# ./spec/controllers/donations_controller_spec.rb:37
237) DonationsController GET 'new' should set @page_title
Failure/Error: before { get :new, :campaign_id => campaign.id }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/controllers/donations_controller.rb:42:in `setup_donation'
# ./spec/controllers/donations_controller_spec.rb:37
238) DonationsController GET 'new' should render new
Failure/Error: before { get :new, :campaign_id => campaign.id }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/controllers/donations_controller.rb:42:in `setup_donation'
# ./spec/controllers/donations_controller_spec.rb:37
239) DonationsController GET 'new' should render with campaigns layout
Failure/Error: before { get :new, :campaign_id => campaign.id }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/controllers/donations_controller.rb:42:in `setup_donation'
# ./spec/controllers/donations_controller_spec.rb:37
240) DonationsController GET 'new' should set @donation
Failure/Error: before { get :new, :campaign_id => campaign.id }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/controllers/donations_controller.rb:42:in `setup_donation'
# ./spec/controllers/donations_controller_spec.rb:37
241) DonationsController GET 'new' should not have a donation amount yet
Failure/Error: before { get :new, :campaign_id => campaign.id }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/controllers/donations_controller.rb:42:in `setup_donation'
# ./spec/controllers/donations_controller_spec.rb:37
242) DonationsController GET 'new' with amount have an donation object with amount
Failure/Error: before { get :new, :campaign_id => campaign.id }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/controllers/donations_controller.rb:42:in `setup_donation'
# ./spec/controllers/donations_controller_spec.rb:37
243) DonationsController GET 'new' with amount should render new template
Failure/Error: before { get :new, :campaign_id => campaign.id }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/controllers/donations_controller.rb:42:in `setup_donation'
# ./spec/controllers/donations_controller_spec.rb:37
244) DonationsController POST 'new' should render new
Failure/Error: before { post :new, :campaign_id => campaign.id }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/controllers/donations_controller.rb:42:in `setup_donation'
# ./spec/controllers/donations_controller_spec.rb:84
245) DonationsController POST 'new' should render with campaigns layout
Failure/Error: before { post :new, :campaign_id => campaign.id }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/controllers/donations_controller.rb:42:in `setup_donation'
# ./spec/controllers/donations_controller_spec.rb:84
246) DonationsController POST 'new' with amount via radio button options have an donation object with amount
Failure/Error: before { post :new, :campaign_id => campaign.id }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/controllers/donations_controller.rb:42:in `setup_donation'
# ./spec/controllers/donations_controller_spec.rb:84
247) DonationsController POST 'new' with amount via the free-form input have an donation object with amount
Failure/Error: before { post :new, :campaign_id => campaign.id }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/controllers/donations_controller.rb:42:in `setup_donation'
# ./spec/controllers/donations_controller_spec.rb:84
248) DonationsController POST 'create' successful submission should redirect to receipt page
Failure/Error: before { post :create, :campaign_id => campaign.id, :donation => valid_donation_attributes }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/controllers/donations_controller.rb:42:in `setup_donation'
# ./spec/controllers/donations_controller_spec.rb:123
249) DonationsController POST 'create' successful submission should render receipt page
Failure/Error: before { post :create, :campaign_id => campaign.id, :donation => valid_donation_attributes }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/controllers/donations_controller.rb:42:in `setup_donation'
# ./spec/controllers/donations_controller_spec.rb:123
250) DonationsController POST 'create' with errors should re-render new form
Failure/Error: before { post :create, :campaign_id => campaign.id, :donation => valid_donation_attributes(:first_name => nil) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/controllers/donations_controller.rb:42:in `setup_donation'
# ./spec/controllers/donations_controller_spec.rb:136
251) DonationsController POST 'create' with errors should set @donation again with submitted values
Failure/Error: before { post :create, :campaign_id => campaign.id, :donation => valid_donation_attributes(:first_name => nil) }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/controllers/donations_controller.rb:42:in `setup_donation'
# ./spec/controllers/donations_controller_spec.rb:136
252) DonationsController POST 'create' for a campaign without multiple contribution levels for a chosen amount
Failure/Error: before { post :create, :campaign_id => campaign.id, :donation => donation_attrs }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/controllers/donations_controller.rb:42:in `setup_donation'
# ./spec/controllers/donations_controller_spec.rb:160
253) DonationsController POST 'create' for a campaign without multiple contribution levels for a chosen amount
Failure/Error: before { post :create, :campaign_id => campaign.id, :donation => donation_attrs }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/controllers/donations_controller.rb:42:in `setup_donation'
# ./spec/controllers/donations_controller_spec.rb:160
254) DonationsController POST 'create' for a campaign without multiple contribution levels for a chosen amount
Failure/Error: before { post :create, :campaign_id => campaign.id, :donation => donation_attrs }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/controllers/donations_controller.rb:42:in `setup_donation'
# ./spec/controllers/donations_controller_spec.rb:160
255) DonationsController POST 'create' for a campaign with multiple contribution levels for a chosen amount
Failure/Error: before { post :create, :campaign_id => campaign.id, :donation => donation_attrs, :amount => "100" }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/controllers/donations_controller.rb:42:in `setup_donation'
# ./spec/controllers/donations_controller_spec.rb:172
256) DonationsController POST 'create' for a campaign with multiple contribution levels for a chosen amount
Failure/Error: before { post :create, :campaign_id => campaign.id, :donation => donation_attrs, :amount => "100" }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/controllers/donations_controller.rb:42:in `setup_donation'
# ./spec/controllers/donations_controller_spec.rb:172
257) DonationsController POST 'create' for a campaign with multiple contribution levels for a chosen amount
Failure/Error: before { post :create, :campaign_id => campaign.id, :donation => donation_attrs, :amount => "100" }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/controllers/donations_controller.rb:42:in `setup_donation'
# ./spec/controllers/donations_controller_spec.rb:172
258) DonationsController POST 'create' for a campaign with multiple contribution levels for an 'other' amount
Failure/Error: before { post :create, :campaign_id => campaign.id, :donation => donation_attrs, :amount => "other", :other_amount => "150" }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/controllers/donations_controller.rb:42:in `setup_donation'
# ./spec/controllers/donations_controller_spec.rb:179
259) DonationsController POST 'create' for a campaign with multiple contribution levels for an 'other' amount
Failure/Error: before { post :create, :campaign_id => campaign.id, :donation => donation_attrs, :amount => "other", :other_amount => "150" }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/controllers/donations_controller.rb:42:in `setup_donation'
# ./spec/controllers/donations_controller_spec.rb:179
260) DonationsController POST 'create' for a campaign with multiple contribution levels for an 'other' amount
Failure/Error: before { post :create, :campaign_id => campaign.id, :donation => donation_attrs, :amount => "other", :other_amount => "150" }
ArgumentError:
wrong number of arguments (0 for 2)
# ./app/controllers/donations_controller.rb:42:in `setup_donation'
# ./spec/controllers/donations_controller_spec.rb:179
Finished in 18.34 seconds
703 examples, 260 failures, 2 pending
Failed examples:
rspec ./spec/models/donation_observer_spec.rb:7 # DonationObserver On creating a new donation should create a corresponding entry
rspec ./spec/models/donation_observer_spec.rb:13 # DonationObserver On deleting a donation should delete its entry
rspec ./spec/controllers/admin/donations_controller_spec.rb:14 # Admin::DonationsController GET 'index' should set donations
rspec ./spec/controllers/admin/donations_controller_spec.rb:18 # Admin::DonationsController GET 'index' should render index
rspec ./spec/controllers/admin/donations_controller_spec.rb:27 # Admin::DonationsController GET 'index' with a campaign scope should set @campaign
rspec ./spec/controllers/admin/donations_controller_spec.rb:31 # Admin::DonationsController GET 'index' with a campaign scope should only include the campaign's donations
rspec ./spec/controllers/admin/donations_controller_spec.rb:36 # Admin::DonationsController GET 'index' with a campaign scope should render index
rspec ./spec/controllers/account/donations_controller_spec.rb:17 # Account::DonationsController GET 'index' should set campaign to nil
rspec ./spec/controllers/account/donations_controller_spec.rb:21 # Account::DonationsController GET 'index' should set donations
rspec ./spec/controllers/account/donations_controller_spec.rb:25 # Account::DonationsController GET 'index' should render index
rspec ./spec/controllers/account/donations_controller_spec.rb:34 # Account::DonationsController GET 'index' with a campaign scope should set @campaign
rspec ./spec/controllers/account/donations_controller_spec.rb:38 # Account::DonationsController GET 'index' with a campaign scope should only include the campaign's donations
rspec ./spec/controllers/account/donations_controller_spec.rb:43 # Account::DonationsController GET 'index' with a campaign scope should render index
rspec ./spec/controllers/account/donations_controller_spec.rb:51 # Account::DonationsController used by an account_admin accessing an account he doesn't administer GET 'index' should not be able to manage donations for another account's campaign
rspec ./spec/controllers/admin/bank_accounts_controller_spec.rb:13 # Admin::BankAccountsController as an Anedot admin bank_account GET 'new' should set @bank_account
rspec ./spec/controllers/admin/bank_accounts_controller_spec.rb:17 # Admin::BankAccountsController as an Anedot admin bank_account GET 'new' should render form
rspec ./spec/controllers/admin/bank_accounts_controller_spec.rb:27 # Admin::BankAccountsController as an Anedot admin bank_account POST 'create' should update @bank_account
rspec ./spec/controllers/admin/bank_accounts_controller_spec.rb:31 # Admin::BankAccountsController as an Anedot admin bank_account POST 'create' should redirect to account
rspec ./spec/controllers/admin/bank_accounts_controller_spec.rb:35 # Admin::BankAccountsController as an Anedot admin bank_account POST 'create' should set the flash notice
rspec ./spec/controllers/account/bank_accounts_controller_spec.rb:27 # Account::BankAccountsController used by an account_admin GET 'new' should set @bank_account
rspec ./spec/controllers/account/bank_accounts_controller_spec.rb:31 # Account::BankAccountsController used by an account_admin GET 'new' should render form
rspec ./spec/controllers/account/bank_accounts_controller_spec.rb:41 # Account::BankAccountsController used by an account_admin POST 'create' should update @bank_account
rspec ./spec/controllers/account/bank_accounts_controller_spec.rb:45 # Account::BankAccountsController used by an account_admin POST 'create' should redirect to account
rspec ./spec/controllers/account/bank_accounts_controller_spec.rb:49 # Account::BankAccountsController used by an account_admin POST 'create' should set the flash notice
rspec ./spec/models/entry_spec.rb:39 # Entry An entry should have a gross amount in dollars
rspec ./spec/models/entry_spec.rb:43 # Entry An entry should have a fee amount in dollars
rspec ./spec/models/entry_spec.rb:47 # Entry An entry should have a net amount in dollars
rspec ./spec/models/entry_spec.rb:51 # Entry An entry should have a number
rspec ./spec/controllers/admin/accounts_controller_spec.rb:11 # Admin::AccountsController GET 'index' should set @accounts
rspec ./spec/controllers/admin/accounts_controller_spec.rb:15 # Admin::AccountsController GET 'index' should render index
rspec ./spec/controllers/admin/accounts_controller_spec.rb:24 # Admin::AccountsController GET 'new' should set @account
rspec ./spec/controllers/admin/accounts_controller_spec.rb:28 # Admin::AccountsController GET 'new' should render form
rspec ./spec/controllers/admin/accounts_controller_spec.rb:37 # Admin::AccountsController POST 'create' should create @account
rspec ./spec/controllers/admin/accounts_controller_spec.rb:41 # Admin::AccountsController POST 'create' should redirect to index
rspec ./spec/controllers/admin/accounts_controller_spec.rb:49 # Admin::AccountsController GET 'show' should set @account
rspec ./spec/controllers/admin/accounts_controller_spec.rb:53 # Admin::AccountsController GET 'show' should render show
rspec ./spec/controllers/admin/accounts_controller_spec.rb:62 # Admin::AccountsController GET 'edit' should set @account
rspec ./spec/controllers/admin/accounts_controller_spec.rb:66 # Admin::AccountsController GET 'edit' should render form
rspec ./spec/controllers/admin/accounts_controller_spec.rb:75 # Admin::AccountsController PUT 'update' should update @account
rspec ./spec/controllers/admin/accounts_controller_spec.rb:79 # Admin::AccountsController PUT 'update' should redirect to account
rspec ./spec/controllers/account/users_controller_spec.rb:30 # Account::UsersController GET 'edit' should set @user
rspec ./spec/controllers/account/users_controller_spec.rb:34 # Account::UsersController GET 'edit' should render form
rspec ./spec/controllers/account/users_controller_spec.rb:43 # Account::UsersController PUT 'update' should update @user
rspec ./spec/controllers/account/users_controller_spec.rb:47 # Account::UsersController PUT 'update' should redirect to user
rspec ./spec/controllers/account/users_controller_spec.rb:51 # Account::UsersController PUT 'update' should set the flash notice
rspec ./spec/models/campaign_spec.rb:99 # A parent campaign for $20,000.00 with (3) $1,000 donations today should have 0 descendants
rspec ./spec/models/campaign_spec.rb:103 # A parent campaign for $20,000.00 with (3) $1,000 donations today should have a total of 3 donations
rspec ./spec/models/campaign_spec.rb:107 # A parent campaign for $20,000.00 with (3) $1,000 donations today should have a goal of 2000000
rspec ./spec/models/campaign_spec.rb:111 # A parent campaign for $20,000.00 with (3) $1,000 donations today should have an average donation of 1000.0
rspec ./spec/models/campaign_spec.rb:115 # A parent campaign for $20,000.00 with (3) $1,000 donations today should report 300000 total raised
rspec ./spec/models/campaign_spec.rb:119 # A parent campaign for $20,000.00 with (3) $1,000 donations today should present 3000.0 total raised via in_dollars
rspec ./spec/models/campaign_spec.rb:123 # A parent campaign for $20,000.00 with (3) $1,000 donations today should report 300000 raised today
rspec ./spec/models/campaign_spec.rb:127 # A parent campaign for $20,000.00 with (3) $1,000 donations today should present 3000.0 raised today via in_dollars
rspec ./spec/models/campaign_spec.rb:131 # A parent campaign for $20,000.00 with (3) $1,000 donations today should report 300000 raised this month
rspec ./spec/models/campaign_spec.rb:135 # A parent campaign for $20,000.00 with (3) $1,000 donations today should present 3000.0 raised this month via in_dollars
rspec ./spec/models/campaign_spec.rb:139 # A parent campaign for $20,000.00 with (3) $1,000 donations today should report 0.15 raised
rspec ./spec/models/campaign_spec.rb:143 # A parent campaign for $20,000.00 with (3) $1,000 donations today should present 15.0 raised as percentage
rspec ./spec/models/campaign_spec.rb:147 # A parent campaign for $20,000.00 with (3) $1,000 donations today should report 0.85 remaining
rspec ./spec/models/campaign_spec.rb:151 # A parent campaign for $20,000.00 with (3) $1,000 donations today should present 85.0 remaining as percentage
rspec ./spec/models/campaign_spec.rb:166 # A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today should have one subcampaign
rspec ./spec/models/campaign_spec.rb:170 # A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today should have a total of 6 donations
rspec ./spec/models/campaign_spec.rb:174 # A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today should still have a total goal of 2000000
rspec ./spec/models/campaign_spec.rb:178 # A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today should have an average donation of 750.0
rspec ./spec/models/campaign_spec.rb:182 # A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today should report 450000 total raised
rspec ./spec/models/campaign_spec.rb:186 # A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today should present 4500.0 total raised via in_dollars
rspec ./spec/models/campaign_spec.rb:190 # A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today should report 450000 raised today
rspec ./spec/models/campaign_spec.rb:194 # A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today should present 4500.0 raised today via in_dollars
rspec ./spec/models/campaign_spec.rb:198 # A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today should report 450000 raised this month
rspec ./spec/models/campaign_spec.rb:202 # A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today should present 4500.0 raised this month via in_dollars
rspec ./spec/models/campaign_spec.rb:206 # A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today should report 0.225 raised
rspec ./spec/models/campaign_spec.rb:210 # A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today should present 22.5 raised as percentage
rspec ./spec/models/campaign_spec.rb:214 # A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today should report 0.775 remaining
rspec ./spec/models/campaign_spec.rb:218 # A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today should present 77.5 remaining as percentage
rspec ./spec/models/campaign_spec.rb:233 # A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today with a subcampaign of its own for $5,000.00 with (3) $200 donations today should have a total of 9 donations
rspec ./spec/models/campaign_spec.rb:237 # A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today with a subcampaign of its own for $5,000.00 with (3) $200 donations today should still have a total goal of 2000000
rspec ./spec/models/campaign_spec.rb:241 # A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today with a subcampaign of its own for $5,000.00 with (3) $200 donations today should have an average donation of 566.67
rspec ./spec/models/campaign_spec.rb:245 # A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today with a subcampaign of its own for $5,000.00 with (3) $200 donations today should report 510000 total raised
rspec ./spec/models/campaign_spec.rb:249 # A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today with a subcampaign of its own for $5,000.00 with (3) $200 donations today should present 5100.0 total raised via in_dollars
rspec ./spec/models/campaign_spec.rb:253 # A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today with a subcampaign of its own for $5,000.00 with (3) $200 donations today should report 510000 raised today
rspec ./spec/models/campaign_spec.rb:257 # A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today with a subcampaign of its own for $5,000.00 with (3) $200 donations today should present 5100.0 raised today via in_dollars
rspec ./spec/models/campaign_spec.rb:261 # A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today with a subcampaign of its own for $5,000.00 with (3) $200 donations today should report 510000 raised this month
rspec ./spec/models/campaign_spec.rb:265 # A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today with a subcampaign of its own for $5,000.00 with (3) $200 donations today should present 5100.0 raised this month via in_dollars
rspec ./spec/models/campaign_spec.rb:269 # A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today with a subcampaign of its own for $5,000.00 with (3) $200 donations today should report 0.225 raised
rspec ./spec/models/campaign_spec.rb:273 # A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today with a subcampaign of its own for $5,000.00 with (3) $200 donations today should present 22.5 raised as percentage
rspec ./spec/models/campaign_spec.rb:277 # A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today with a subcampaign of its own for $5,000.00 with (3) $200 donations today should report 0.775 remaining
rspec ./spec/models/campaign_spec.rb:281 # A parent campaign for $20,000.00 with (3) $1,000 donations today with a subcampaign for $10,000.00 with (3) $500 donations today with a subcampaign of its own for $5,000.00 with (3) $200 donations today should present 77.5 remaining as percentage
rspec ./spec/models/campaign_spec.rb:298 # A Campaign with a goal of $10,000.00 that is under its goal by $2,500 should have an average donation of 2500.0
rspec ./spec/models/campaign_spec.rb:302 # A Campaign with a goal of $10,000.00 that is under its goal by $2,500 should have raised 750000
rspec ./spec/models/campaign_spec.rb:306 # A Campaign with a goal of $10,000.00 that is under its goal by $2,500 should have .25 percent remaining
rspec ./spec/models/campaign_spec.rb:314 # A Campaign with a goal of $10,000.00 that has reached its goal should have an average donation of 2500.0
rspec ./spec/models/campaign_spec.rb:318 # A Campaign with a goal of $10,000.00 that has reached its goal should have raised 1000000
rspec ./spec/models/campaign_spec.rb:322 # A Campaign with a goal of $10,000.00 that has reached its goal should not have any percentage remaining
rspec ./spec/models/campaign_spec.rb:330 # A Campaign with a goal of $10,000.00 that is over its goal should have an average donation of 2500.0
rspec ./spec/models/campaign_spec.rb:334 # A Campaign with a goal of $10,000.00 that is over its goal should have raised 1250000
rspec ./spec/models/campaign_spec.rb:338 # A Campaign with a goal of $10,000.00 that is over its goal should not have any percentage remaining
rspec ./spec/models/campaign_spec.rb:355 # A Campaign with a goal of $10,000.00 that that receives varied donation amounts should have an average donation of 345.67
rspec ./spec/models/campaign_spec.rb:359 # A Campaign with a goal of $10,000.00 that that receives varied donation amounts should have exactly 0.930866 remaining
rspec ./spec/models/campaign_spec.rb:363 # A Campaign with a goal of $10,000.00 that that receives varied donation amounts should present 93.09 (trimmed to 2 decimal places) percent remaining
rspec ./spec/models/campaign_spec.rb:405 # A Campaign with a donation should not be destroyable
rspec ./spec/models/donation_spec.rb:53 # Donation
rspec ./spec/models/donation_spec.rb:54 # Donation
rspec ./spec/models/donation_spec.rb:55 # Donation
rspec ./spec/models/donation_spec.rb:59 # Donation
rspec ./spec/models/donation_spec.rb:60 # Donation
rspec ./spec/models/donation_spec.rb:61 # Donation
rspec ./spec/models/donation_spec.rb:61 # Donation
rspec ./spec/models/donation_spec.rb:61 # Donation
rspec ./spec/models/donation_spec.rb:61 # Donation
rspec ./spec/models/donation_spec.rb:75 # Donation
rspec ./spec/models/donation_spec.rb:75 # Donation
rspec ./spec/models/donation_spec.rb:75 # Donation
rspec ./spec/models/donation_spec.rb:75 # Donation
rspec ./spec/models/donation_spec.rb:76 # Donation
rspec ./spec/models/donation_spec.rb:76 # Donation
rspec ./spec/models/donation_spec.rb:79 # Donation
rspec ./spec/models/donation_spec.rb:79 # Donation
rspec ./spec/models/donation_spec.rb:80 # Donation
rspec ./spec/models/donation_spec.rb:80 # Donation
rspec ./spec/models/donation_spec.rb:83 # Donation
rspec ./spec/models/donation_spec.rb:83 # Donation
rspec ./spec/models/donation_spec.rb:84 # Donation
rspec ./spec/models/donation_spec.rb:84 # Donation
rspec ./spec/models/donation_spec.rb:86 # Donation
rspec ./spec/models/donation_spec.rb:87 # Donation
rspec ./spec/models/donation_spec.rb:89 # Donation
rspec ./spec/models/donation_spec.rb:89 # Donation
rspec ./spec/models/donation_spec.rb:89 # Donation
rspec ./spec/models/donation_spec.rb:90 # Donation
rspec ./spec/models/donation_spec.rb:90 # Donation
rspec ./spec/models/donation_spec.rb:92 # Donation
rspec ./spec/models/donation_spec.rb:92 # Donation
rspec ./spec/models/donation_spec.rb:92 # Donation
rspec ./spec/models/donation_spec.rb:93 # Donation
rspec ./spec/models/donation_spec.rb:93 # Donation
rspec ./spec/models/donation_spec.rb:93 # Donation
rspec ./spec/models/donation_spec.rb:95 # Donation
rspec ./spec/models/donation_spec.rb:137 # Donation should have a virtual attribute for card_number
rspec ./spec/models/donation_spec.rb:142 # Donation should determine capturability
rspec ./spec/models/donation_spec.rb:69 # Donation with an invalid amount of 0 should have an error about the invalid amount
rspec ./spec/models/donation_spec.rb:69 # Donation with an invalid amount of 0 should have an error about the invalid amount
rspec ./spec/models/donation_spec.rb:69 # Donation with an invalid amount of $0.00 should have an error about the invalid amount
rspec ./spec/models/donation_spec.rb:69 # Donation with an invalid amount of -$100.00 should have an error about the invalid amount
rspec ./spec/models/donation_spec.rb:69 # Donation with an invalid amount of -100 should have an error about the invalid amount
rspec ./spec/models/donation_spec.rb:69 # Donation with an invalid amount of -100.10 should have an error about the invalid amount
rspec ./spec/models/donation_spec.rb:69 # Donation with an invalid amount of 0.99 should have an error about the invalid amount
rspec ./spec/models/donation_spec.rb:98 # Donation is addressable
rspec ./spec/models/donation_spec.rb:99 # Donation is addressable
rspec ./spec/models/donation_spec.rb:107 # Donation that is capturable should validate_presence_of :phone
rspec ./spec/models/donation_spec.rb:112 # Donation that is capturable
rspec ./spec/models/donation_spec.rb:112 # Donation that is capturable
rspec ./spec/models/donation_spec.rb:112 # Donation that is capturable
rspec ./spec/models/donation_spec.rb:121 # Donation that is capturable with an invalid phone number of 555-444-121 should have an error about the phone format
rspec ./spec/models/donation_spec.rb:121 # Donation that is capturable with an invalid phone number of 333-1212 should have an error about the phone format
rspec ./spec/models/donation_spec.rb:121 # Donation that is capturable with an invalid phone number of 80055544441234 should have an error about the phone format
rspec ./spec/models/donation_spec.rb:155 # Donation with fees should have a default base_rate
rspec ./spec/models/donation_spec.rb:159 # Donation with fees should have a default referral_rate
rspec ./spec/models/donation_spec.rb:163 # Donation with fees should have a default transcation_cost
rspec ./spec/models/donation_spec.rb:177 # Donation and an account with cached rates should have a campaign
rspec ./spec/models/donation_spec.rb:181 # Donation and an account with cached rates should have cached base rate of 7.5%
rspec ./spec/models/donation_spec.rb:192 # Donation and an amount should have a gross donation amount
rspec ./spec/models/donation_spec.rb:196 # Donation and an amount should have a net amount that is less than the gross
rspec ./spec/models/donation_spec.rb:200 # Donation and an amount should have a fee amount
rspec ./spec/models/donation_spec.rb:204 # Donation and an amount should have a transaction cost in dollars
rspec ./spec/models/donation_spec.rb:212 # Donation with an individual should output the individual's name
rspec ./spec/models/donation_spec.rb:216 # Donation with an individual should also pass back the individual's name from the name method
rspec ./spec/models/donation_spec.rb:224 # Donation with an organization should return the organization name from the name method
rspec ./spec/models/donation_spec.rb:232 # Donation with a partial address should output a formatted address string
rspec ./spec/models/donation_spec.rb:242 # Donation with a partial address and the rest of the address should have a fully formatted address
rspec ./spec/models/donation_spec.rb:246 # Donation with a partial address and the rest of the address should also have an html formatted version
rspec ./spec/models/donation_spec.rb:255 # Donation with 3 records for today should have 3 records total
rspec ./spec/models/donation_spec.rb:259 # Donation with 3 records for today should have 3 records for today
rspec ./spec/models/donation_spec.rb:263 # Donation with 3 records for today should not have any records for yesterday
rspec ./spec/models/donation_spec.rb:267 # Donation with 3 records for today should have 3 records for this month
rspec ./spec/models/donation_spec.rb:275 # Donation with 3 records for yesterday should have 3 records for yesterday
rspec ./spec/models/donation_spec.rb:279 # Donation with 3 records for yesterday should not have any records for today
rspec ./spec/models/donation_spec.rb:283 # Donation with 3 records for yesterday should have 3 records for yesterday's month
rspec ./spec/models/donation_spec.rb:294 # Donation with 4 records for last month should not have any records for today
rspec ./spec/models/donation_spec.rb:298 # Donation with 4 records for last month should not have any records for this month
rspec ./spec/models/donation_spec.rb:302 # Donation with 4 records for last month should have 4 records for last month
rspec ./spec/models/donation_spec.rb:306 # Donation with 4 records for last month should not have any records for 2 months ago
rspec ./spec/models/donation_spec.rb:315 # Donation a check payment should not be capturable
rspec ./spec/models/donation_spec.rb:319 # Donation a check payment should not require address information
rspec ./spec/models/donation_spec.rb:331 # Donation a credit card payment should require address information
rspec ./spec/models/donation_spec.rb:342 # A Donation by check should be deletable
rspec ./spec/models/donation_spec.rb:353 # A Donation by card should not be destroyable
rspec ./spec/models/donation_spec.rb:365 # with an excessive amount should have errors on amount
rspec ./spec/models/donation_spec.rb:377 # with campaign legal terms should have errors on the terms
rspec ./spec/models/donation_spec.rb:387 # A Donation populated from a Pledge
rspec ./spec/models/donation_spec.rb:388 # A Donation populated from a Pledge
rspec ./spec/models/donation_spec.rb:389 # A Donation populated from a Pledge
rspec ./spec/models/donation_spec.rb:390 # A Donation populated from a Pledge
rspec ./spec/models/donation_spec.rb:391 # A Donation populated from a Pledge
rspec ./spec/models/donation_spec.rb:392 # A Donation populated from a Pledge
rspec ./spec/models/donation_spec.rb:393 # A Donation populated from a Pledge
rspec ./spec/models/donation_spec.rb:394 # A Donation populated from a Pledge
rspec ./spec/models/donation_spec.rb:395 # A Donation populated from a Pledge
rspec ./spec/models/donation_spec.rb:396 # A Donation populated from a Pledge
rspec ./spec/models/donation_spec.rb:397 # A Donation populated from a Pledge
rspec ./spec/models/donation_spec.rb:398 # A Donation populated from a Pledge
rspec ./spec/models/donation_spec.rb:399 # A Donation populated from a Pledge
rspec ./spec/models/donation_spec.rb:400 # A Donation populated from a Pledge
rspec ./spec/models/donation_spec.rb:401 # A Donation populated from a Pledge
rspec ./spec/models/donation_spec.rb:402 # A Donation populated from a Pledge
rspec ./spec/models/donation_spec.rb:403 # A Donation populated from a Pledge
rspec ./spec/integration/donatables_spec.rb:13 # A campaign viewed by a campaign admin without donations visiting donations#index
rspec ./spec/integration/donatables_spec.rb:18 # A campaign viewed by a campaign admin without donations visiting the campaign
rspec ./spec/integration/donatables_spec.rb:27 # A campaign viewed by a campaign admin with a donation visiting donations#index without a campaign_id
rspec ./spec/integration/donatables_spec.rb:32 # A campaign viewed by a campaign admin with a donation visiting donations#index with a campaign_id
rspec ./spec/integration/donatables_spec.rb:37 # A campaign viewed by a campaign admin with a donation visiting the campaign
rspec ./spec/integration/donatables_spec.rb:38 # A campaign viewed by a campaign admin with a donation visiting the campaign
rspec ./spec/integration/donatables_spec.rb:47 # A campaign viewed by a campaign admin with 25 donations visiting the campaign
rspec ./spec/integration/donatables_spec.rb:13 # A campaign viewed by a campaign admin without pledges visiting pledges#index
rspec ./spec/integration/donatables_spec.rb:18 # A campaign viewed by a campaign admin without pledges visiting the campaign
rspec ./spec/integration/donatables_spec.rb:27 # A campaign viewed by a campaign admin with a donation visiting pledges#index without a campaign_id
rspec ./spec/integration/donatables_spec.rb:32 # A campaign viewed by a campaign admin with a donation visiting pledges#index with a campaign_id
rspec ./spec/integration/donatables_spec.rb:37 # A campaign viewed by a campaign admin with a donation visiting the campaign
rspec ./spec/integration/donatables_spec.rb:38 # A campaign viewed by a campaign admin with a donation visiting the campaign
rspec ./spec/integration/donatables_spec.rb:47 # A campaign viewed by a campaign admin with 25 pledges visiting the campaign
rspec ./spec/integration/donatables_spec.rb:13 # A campaign viewed by an Anedot admin without donations visiting donations#index
rspec ./spec/integration/donatables_spec.rb:18 # A campaign viewed by an Anedot admin without donations visiting the campaign
rspec ./spec/integration/donatables_spec.rb:27 # A campaign viewed by an Anedot admin with a donation visiting donations#index without a campaign_id
rspec ./spec/integration/donatables_spec.rb:32 # A campaign viewed by an Anedot admin with a donation visiting donations#index with a campaign_id
rspec ./spec/integration/donatables_spec.rb:37 # A campaign viewed by an Anedot admin with a donation visiting the campaign
rspec ./spec/integration/donatables_spec.rb:38 # A campaign viewed by an Anedot admin with a donation visiting the campaign
rspec ./spec/integration/donatables_spec.rb:47 # A campaign viewed by an Anedot admin with 25 donations visiting the campaign
rspec ./spec/integration/donatables_spec.rb:13 # A campaign viewed by an Anedot admin without pledges visiting pledges#index
rspec ./spec/integration/donatables_spec.rb:18 # A campaign viewed by an Anedot admin without pledges visiting the campaign
rspec ./spec/integration/donatables_spec.rb:27 # A campaign viewed by an Anedot admin with a donation visiting pledges#index without a campaign_id
rspec ./spec/integration/donatables_spec.rb:32 # A campaign viewed by an Anedot admin with a donation visiting pledges#index with a campaign_id
rspec ./spec/integration/donatables_spec.rb:37 # A campaign viewed by an Anedot admin with a donation visiting the campaign
rspec ./spec/integration/donatables_spec.rb:38 # A campaign viewed by an Anedot admin with a donation visiting the campaign
rspec ./spec/integration/donatables_spec.rb:47 # A campaign viewed by an Anedot admin with 25 pledges visiting the campaign
rspec ./spec/controllers/account/pledges_controller_spec.rb:21 # Account::PledgesController GET 'index' should set pledges
rspec ./spec/controllers/donations_controller_spec.rb:26 # DonationsController GET 'new' with embed param should render the new template
rspec ./spec/controllers/donations_controller_spec.rb:31 # DonationsController GET 'new' with embed param should render with the embed layout
rspec ./spec/controllers/donations_controller_spec.rb:39 # DonationsController GET 'new' should set @campaign
rspec ./spec/controllers/donations_controller_spec.rb:43 # DonationsController GET 'new' should set @page_title
rspec ./spec/controllers/donations_controller_spec.rb:47 # DonationsController GET 'new' should render new
rspec ./spec/controllers/donations_controller_spec.rb:52 # DonationsController GET 'new' should render with campaigns layout
rspec ./spec/controllers/donations_controller_spec.rb:56 # DonationsController GET 'new' should set @donation
rspec ./spec/controllers/donations_controller_spec.rb:60 # DonationsController GET 'new' should not have a donation amount yet
rspec ./spec/controllers/donations_controller_spec.rb:68 # DonationsController GET 'new' with amount have an donation object with amount
rspec ./spec/controllers/donations_controller_spec.rb:73 # DonationsController GET 'new' with amount should render new template
rspec ./spec/controllers/donations_controller_spec.rb:86 # DonationsController POST 'new' should render new
rspec ./spec/controllers/donations_controller_spec.rb:91 # DonationsController POST 'new' should render with campaigns layout
rspec ./spec/controllers/donations_controller_spec.rb:98 # DonationsController POST 'new' with amount via radio button options have an donation object with amount
rspec ./spec/controllers/donations_controller_spec.rb:108 # DonationsController POST 'new' with amount via the free-form input have an donation object with amount
rspec ./spec/controllers/donations_controller_spec.rb:125 # DonationsController POST 'create' successful submission should redirect to receipt page
rspec ./spec/controllers/donations_controller_spec.rb:130 # DonationsController POST 'create' successful submission should render receipt page
rspec ./spec/controllers/donations_controller_spec.rb:138 # DonationsController POST 'create' with errors should re-render new form
rspec ./spec/controllers/donations_controller_spec.rb:143 # DonationsController POST 'create' with errors should set @donation again with submitted values
rspec ./spec/controllers/donations_controller_spec.rb:161 # DonationsController POST 'create' for a campaign without multiple contribution levels for a chosen amount
rspec ./spec/controllers/donations_controller_spec.rb:162 # DonationsController POST 'create' for a campaign without multiple contribution levels for a chosen amount
rspec ./spec/controllers/donations_controller_spec.rb:163 # DonationsController POST 'create' for a campaign without multiple contribution levels for a chosen amount
rspec ./spec/controllers/donations_controller_spec.rb:173 # DonationsController POST 'create' for a campaign with multiple contribution levels for a chosen amount
rspec ./spec/controllers/donations_controller_spec.rb:174 # DonationsController POST 'create' for a campaign with multiple contribution levels for a chosen amount
rspec ./spec/controllers/donations_controller_spec.rb:175 # DonationsController POST 'create' for a campaign with multiple contribution levels for a chosen amount
rspec ./spec/controllers/donations_controller_spec.rb:180 # DonationsController POST 'create' for a campaign with multiple contribution levels for an 'other' amount
rspec ./spec/controllers/donations_controller_spec.rb:181 # DonationsController POST 'create' for a campaign with multiple contribution levels for an 'other' amount
rspec ./spec/controllers/donations_controller_spec.rb:182 # DonationsController POST 'create' for a campaign with multiple contribution levels for an 'other' amount
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment