aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/request_game_controller_spec.rb
blob: cc0808ef3ba3006df7aa81070a0b70909f6992fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

describe RequestGameController, "when playing the game" do

    fixtures :public_bodies, :public_body_translations, :public_body_versions, :users, :info_requests, :raw_emails, :incoming_messages, :outgoing_messages, :comments, :info_request_events, :track_things # all needed as integrating views
    before(:each) do
        load_raw_emails_data(raw_emails)
    end

    it "should show the game homepage" do
        get :play
        response.should render_template('play')
    end
end