aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/request_game_controller_spec.rb
diff options
context:
space:
mode:
authorDavid Cabo <david@calibea.com>2011-07-30 02:42:59 +0200
committerDavid Cabo <david@calibea.com>2011-07-30 02:42:59 +0200
commit13035996a5a794051507f5927cb2f00104be34c0 (patch)
tree54b65e55f796c54cb623422c7d0d979ecdf072ca /spec/controllers/request_game_controller_spec.rb
parenta4ee2cfdc61aefda87f3585187cedc6f283505a6 (diff)
parentfaa8c8ed4a3de3ad5b41dc63a2d32dd4c92a444e (diff)
Merge branch 'master' of github.com:sebbacon/alaveteli into asktheeu
Diffstat (limited to 'spec/controllers/request_game_controller_spec.rb')
-rw-r--r--spec/controllers/request_game_controller_spec.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/controllers/request_game_controller_spec.rb b/spec/controllers/request_game_controller_spec.rb
index ce507fad1..4883bfdd6 100644
--- a/spec/controllers/request_game_controller_spec.rb
+++ b/spec/controllers/request_game_controller_spec.rb
@@ -3,6 +3,9 @@ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
describe RequestGameController, "when playing the game" do
fixtures :info_requests, :info_request_events, :public_bodies, :public_body_translations, :users, :incoming_messages, :raw_emails, :outgoing_messages # all needed as integrating views
+ before(:each) do
+ load_raw_emails_data(raw_emails)
+ end
it "should show the game homepage" do
get :play