From 13885a4933e7ac4c9e54116dc216e2132ada77da Mon Sep 17 00:00:00 2001 From: Seb Bacon Date: Thu, 14 Jul 2011 08:40:12 +0100 Subject: Fix bug on categorisation page that was stopping game from working --- spec/controllers/request_game_controller_spec.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 spec/controllers/request_game_controller_spec.rb (limited to 'spec/controllers/request_game_controller_spec.rb') diff --git a/spec/controllers/request_game_controller_spec.rb b/spec/controllers/request_game_controller_spec.rb new file mode 100644 index 000000000..eb05045e9 --- /dev/null +++ b/spec/controllers/request_game_controller_spec.rb @@ -0,0 +1,12 @@ +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 + + it "should show the game homepage with the correct urls" do + get :play + response.should render_template('play') + end +end + -- cgit v1.2.3