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 "is a pain in the butt" do
- expect(@foo).to be_a_pain_in_the_butt
- end
- it "is awesome" do
- expect(@foo).to be_awesome
- end
- it "is not nil" do
- expect(@foo).to_not be_nil
- end
- it "is not the empty string" do
- expect(@foo).to_not eq ""
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement