Skip to content

Instantly share code, notes, and snippets.

@thomasfedb
Created January 6, 2014 19:24
Show Gist options
  • Select an option

  • Save thomasfedb/8288241 to your computer and use it in GitHub Desktop.

Select an option

Save thomasfedb/8288241 to your computer and use it in GitHub Desktop.
describe FooClass do
contexts do
context "on tuesday" do
let(:day) { "Tuesday" }
end
context "on saturday" do
let(:day) { "Saturday" }
end
behaviour do
specify { expect(day).to be_a String }
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment