Skip to content

Instantly share code, notes, and snippets.

@rolandobrown
Last active August 29, 2015 14:28
Show Gist options
  • Save rolandobrown/9f7005381e9771ad2a1f to your computer and use it in GitHub Desktop.
Save rolandobrown/9f7005381e9771ad2a1f to your computer and use it in GitHub Desktop.
Aretha 1
# aretha_spec.rb
require_relative 'aretha.rb' #connect test to code
aretha = Aretha.new
RSpec.describe Aretha do
describe "#done_you_wrong!" do
it "ain't gonna do you wrong while you're gone" do
expect(aretha.done_you_wrong!).not_to be_truthy
end
end
describe "#wanna_do_you_wrong" do
it "ain't gonna do you wrong (oo) 'cause I don't wanna (oo)" do
expect(aretha.wanna_do_you_wrong("False")).not_to be_truthy
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment