require "test/unit"
require "shoulda"

class FizzBuzz
  def self.say(n)
    "1"
  end
end

class TestFizzbuzz < Test::Unit::TestCase

  def say(n)
    FizzBuzz.say(n)
  end

  should "say 1 for 1" do
    assert_equal "1", say(1)
  end

end

require "test/unit"
require "shoulda"

class FizzBuzz
  def self.say(n)
    "1"
  end
end

class TestFizzbuzz < Test::Unit::TestCase

  def say(n)
    FizzBuzz.say(n)
  end

  should "say 1 for 1" do
    assert_equal "1", FizzBuzz.say(1)
  end

end

Substitute the call through the method within the test by the static call to FizzBuzz.say(n)
Substitute the call through the method within the test by the static call to FizzBuzz.say(n)
