Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'foo'
- describe Foo do
- describe "a new foo" do
- before :each do ; @foo = Foo.new ; end
- it "should be a pain in the butt" do
- @foo.should be_a_pain_in_the_butt
- end
- it "should be awesome" do
- @foo.should be_awesome
- end
- it "should not be nil" do
- @foo.should_not be_nil
- end
- it "should not be the empty string" do
- @foo.should_not == ""
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement