Skip to content

Instantly share code, notes, and snippets.

@atkolkma
Last active December 28, 2015 14:48
Show Gist options
  • Save atkolkma/7516896 to your computer and use it in GitHub Desktop.
Save atkolkma/7516896 to your computer and use it in GitHub Desktop.
rspec test for output of fizzbuzz()
require "~/development/tested/lib/fizzbuzz.rb"
describe FizzBuzz do
describe '#fizzbuzzer' do
it "accurately outputs for various integers" do
expect(fizzbuzzer(9)).to eql("Fizz")
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment