From d7abbf20033fec1bcc2e2ecff7614e8672cfeb5c Mon Sep 17 00:00:00 2001 From: Toks Date: Sun, 6 Oct 2013 17:18:08 -0400 Subject: [PATCH] #1382: cleanup --- ...131006193238_update_aliased_implication_consequents.rb | 2 +- test/unit/tag_alias_test.rb | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/db/migrate/20131006193238_update_aliased_implication_consequents.rb b/db/migrate/20131006193238_update_aliased_implication_consequents.rb index 40bd169f9..93fea565e 100644 --- a/db/migrate/20131006193238_update_aliased_implication_consequents.rb +++ b/db/migrate/20131006193238_update_aliased_implication_consequents.rb @@ -10,4 +10,4 @@ class UpdateAliasedImplicationConsequents < ActiveRecord::Migration end end end -end \ No newline at end of file +end diff --git a/test/unit/tag_alias_test.rb b/test/unit/tag_alias_test.rb index ec90c2845..70c13d496 100644 --- a/test/unit/tag_alias_test.rb +++ b/test/unit/tag_alias_test.rb @@ -63,15 +63,15 @@ class TagAliasTest < ActiveSupport::TestCase end should "move existing aliases" do - ta1 = FactoryGirl.create(:tag_alias, :antecedent_name => "aaa", :consequent_name => "bbb", :status => "active") - ta2 = FactoryGirl.create(:tag_alias, :antecedent_name => "bbb", :consequent_name => "ccc", :status => "active") + ta1 = FactoryGirl.create(:tag_alias, :antecedent_name => "aaa", :consequent_name => "bbb") + ta2 = FactoryGirl.create(:tag_alias, :antecedent_name => "bbb", :consequent_name => "ccc") ta1.reload assert_equal("ccc", ta1.consequent_name) end should "move existing implications" do - ti = FactoryGirl.create(:tag_implication, :antecedent_name => "aaa", :consequent_name => "bbb", :status => "active") - ta = FactoryGirl.create(:tag_alias, :antecedent_name => "bbb", :consequent_name => "ccc", :status => "active") + ti = FactoryGirl.create(:tag_implication, :antecedent_name => "aaa", :consequent_name => "bbb") + ta = FactoryGirl.create(:tag_alias, :antecedent_name => "bbb", :consequent_name => "ccc") ti.reload assert_equal("ccc", ti.consequent_name) end