Created
March 1, 2012 13:24
-
-
Save asachs/1949788 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# dependant on values supplied in amount_paid | |
context "for membership_term and member_paid" do | |
subject { Factory.build(:member) } | |
let(:amount_paid) { ANNUAL_MEMBERSHIP_COST } | |
it { | |
should allow_value(ANNUAL_MEMBERSHIP_COST).for(:amount_paid) | |
assert subject.membership_term == 1 | |
} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment