Displaying 1 result from an estimated 1 matches for "greetingtest".
2011 Jun 11
15
after initialize blowing up---help
...ize
end
end
=================== greeting.yml ==========================
hello:
greet: howdy
language: english
count: 44
hola:
greet: hola, que tal
language: spanish
count: 55
=================== greeting_test.rb ========================
require ''test_helper''
class GreetingTest < ActiveSupport::TestCase
# Replace this with your real tests.
test "uniqueness of count" do
gg = Greeting.new(:language => ''esperanto'', :count =>
greetings(:hello).count)
assert !gg.valid?
end
end
=================================================...