From 3dfc53f6b82b3c5da79a4c710d45b859f61f4f5f Mon Sep 17 00:00:00 2001 From: Seb Bacon Date: Tue, 12 Jul 2011 13:39:06 +0100 Subject: ensure we don't load custom states from plugins when running tests --- spec/models/info_request_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/models/info_request_spec.rb') diff --git a/spec/models/info_request_spec.rb b/spec/models/info_request_spec.rb index 91b1b0876..c13eda8cb 100644 --- a/spec/models/info_request_spec.rb +++ b/spec/models/info_request_spec.rb @@ -167,7 +167,7 @@ describe InfoRequest do before do InfoRequest.send(:require, File.expand_path(File.dirname(__FILE__) + '/customstates')) @ir = info_requests(:naughty_chicken_request) - @ir.load_custom_states + @ir.load_custom_states! end it "rejects invalid states" do -- cgit v1.2.3