Sha256: 2078af73c451cbf2c4cda1040fc3dc6886c9784dac14383de6e3534bb9b7f52c

Contents?: true

Size: 575 Bytes

Versions: 6

Compression:

Stored size: 575 Bytes

Contents

require 'dummy_spec_helper'

describe "Requests" do
  
  describe "Main pages" do
    before do
      login_as(create(:user)) 
    end

    it "should get root" do
      get '/carrier'
      response.status.should be(200)
    end

    it "should get /messages" do
      get '/carrier/messages'
      response.status.should be(200)
    end

    it "should get /sent" do
      get '/carrier/messages/sent'
      response.status.should be(200)
    end

    it "should get /archive" do
      get '/carrier/messages/archive'
      response.status.should be(200)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
carrier-0.1.5 spec/requests/main_spec.rb
carrier-0.1.4 spec/requests/main_spec.rb
carrier-0.1.3 spec/requests/main_spec.rb
carrier-0.1.2 spec/requests/main_spec.rb
carrier-0.1.1 spec/requests/main_spec.rb
carrier-0.1.0 spec/requests/main_spec.rb