Skip to content

Instantly share code, notes, and snippets.

@raholland79
Created July 26, 2012 16:09
Show Gist options
  • Save raholland79/3182955 to your computer and use it in GitHub Desktop.
Save raholland79/3182955 to your computer and use it in GitHub Desktop.
require 'rspec'
class CrazyBitch
attr_reader :crazy, :condenscending
def initialize
@crazy = true
@condenscending = true
end
end
describe CrazyBitch do
let(:amy) { CrazyBitch.new }
it "is crazy" do
amy.crazy.should == true
end
it "is a bitch" do
amy.condenscending.should == true
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment