test/inflector_test.rb in set_builder-1.2.0.beta3 vs test/inflector_test.rb in set_builder-2.0.0.beta1
- old
+ new
@@ -2,26 +2,26 @@
class InflectorTest < ActiveSupport::TestCase
test "active" do
- assert_equal "who died", SetBuilder::Trait.new("died", :active).to_s
+ assert_equal "who died", SetBuilder::Trait.new('who "died"').to_s
end
test "perfect" do
- assert_equal "who have attended", SetBuilder::Trait.new("attended", :perfect).to_s
+ assert_equal "who have attended", SetBuilder::Trait.new('who have "attended"').to_s
end
test "passive" do
- assert_equal "who were born", SetBuilder::Trait.new("born", :passive).to_s
+ assert_equal "who were born", SetBuilder::Trait.new('who were "born"').to_s
end
test "reflexive" do
- assert_equal "who are awesome", SetBuilder::Trait.new("awesome", :reflexive).to_s
+ assert_equal "who are awesome", SetBuilder::Trait.new('who are "awesome"').to_s
end
test "noun" do
- assert_equal "whose name", SetBuilder::Trait.new("name", :noun).to_s
+ assert_equal "whose name", SetBuilder::Trait.new('whose "name"').to_s
end
-end
\ No newline at end of file
+end