Created
August 4, 2014 15:32
-
-
Save domgetter/cb74c6258a398ba5c034 to your computer and use it in GitHub Desktop.
its as an example group in rspec
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
describe Pitch | |
let(:pitch) {Pitch.new} | |
describe "#+" do | |
context "when you add 1 to a pitch" do | |
its "frequency is bigger" do | |
expect((pitch + 1).frequency).to be > pitch.frequency | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment