Last active
July 8, 2020 22:22
-
-
Save novohispano/9358e7d2686086c97c66f53a0760277f to your computer and use it in GitHub Desktop.
This file contains 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 Taija do | |
context "when Taija sleeps" do | |
before(:all) do | |
@taija = Taija.new | |
@taija.sleeps = true | |
@taija.save | |
end | |
it "forgets to wake up" do | |
expect(@taija.wake_up).to eql false | |
end | |
it "asks questions about cookies" do | |
expect(@taija.ask_cookie_question).to eql true | |
end | |
it "works hard in the afternoon" do | |
expect(@taija.works_hard).to eql true | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment