diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2011-07-14 08:40:12 +0100 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2011-07-14 08:40:12 +0100 |
commit | 13885a4933e7ac4c9e54116dc216e2132ada77da (patch) | |
tree | bffa0eef5eca1ef3bdc17f1b04a8a20d3a8f3bd4 /spec/controllers/request_game_controller_spec.rb | |
parent | b05ce7cc350318ecf111529e77c40b128f7c0d05 (diff) |
Fix bug on categorisation page that was stopping game from working
Diffstat (limited to 'spec/controllers/request_game_controller_spec.rb')
-rw-r--r-- | spec/controllers/request_game_controller_spec.rb | 12 |
1 files changed, 12 insertions, 0 deletions
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 + |