aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/request_game_controller_spec.rb
blob: 4883bfdd621967757e9a11c112ee1b2f650d6566 (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 :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
        response.should render_template('play')
    end
end