Skip to content

Instantly share code, notes, and snippets.

@alexrothenberg
Created April 26, 2011 13:31
Show Gist options
  • Save alexrothenberg/942262 to your computer and use it in GitHub Desktop.
Save alexrothenberg/942262 to your computer and use it in GitHub Desktop.
it "should be able able to overwrite defaults" do
subject.log = "/test"
subject.log.should eql('/test')
end
describe 'overriding log' do
before { subject.log = '/test' }
its(:log) { should == '/test' }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment