diff options
author | Robin Houston <robin@lenny.robin> | 2011-07-14 00:28:45 +0100 |
---|---|---|
committer | Robin Houston <robin@lenny.robin> | 2011-07-14 00:28:45 +0100 |
commit | 75c70a460cbe8ff136cee6940c5c4d80d9a22b40 (patch) | |
tree | 3ea197f1925bc5d88383408933510bd2511c4d54 /spec/controllers/request_game_controller_spec.rb | |
parent | 0560d4fd4287db43c99108a5acdf573d70f81044 (diff) | |
parent | bb790631de2973f8009af558cc9d9a6a70a6efc9 (diff) |
Merge branch 'master' of git@github.com:sebbacon/alaveteli into wdtk
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 + |