aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenare Degan <henare.degan@gmail.com>2013-03-03 16:44:06 +1100
committerHenare Degan <henare.degan@gmail.com>2013-03-03 16:44:06 +1100
commit34361f13ce0ef60a66bb1da01e7eaca5a0a9b25d (patch)
tree2b0b70c0dee6dac59751ae48334bab8cdc351c51
parent4874d6b1af7dfc8b9815a8e03553a5a2d1e810e9 (diff)
We use info_request_id in the view so we should use it in the test
-rw-r--r--spec/controllers/admin_censor_rule_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/admin_censor_rule_controller_spec.rb b/spec/controllers/admin_censor_rule_controller_spec.rb
index c4860da3f..37ffd9764 100644
--- a/spec/controllers/admin_censor_rule_controller_spec.rb
+++ b/spec/controllers/admin_censor_rule_controller_spec.rb
@@ -10,7 +10,7 @@ describe AdminCensorRuleController, "when making censor rules from the admin int
:text => "meat",
:replacement => "tofu",
:last_edit_comment => "none",
- :info_request => ir
+ :info_request_id => ir
}
PurgeRequest.all().first.model_id.should == ir.id
end