Skip to content

Instantly share code, notes, and snippets.

@kerrizor
Created May 7, 2019 22:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kerrizor/464532d4539468b9635bd8bdd34c29ef to your computer and use it in GitHub Desktop.
Save kerrizor/464532d4539468b9635bd8bdd34c29ef to your computer and use it in GitHub Desktop.
context "when the moon is rising" do
let(:moon_phase) { ->(){ planet.moons.first.blah.baz.bat[0].phase } }
it "looks it up" do
expect { change_moon_phase }.to change( moon_phase.call }
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment