Sha256: 56bb4268b2dd2d7f9fc1bf35ba5727a6debbfe3d234b193534e60ca198db39c2

Contents?: true

Size: 244 Bytes

Versions: 4

Compression:

Stored size: 244 Bytes

Contents

require 'spec_helper'

describe ArticlesController do

  describe "GET 'show'" do
    let(:article) { create :article }
    
    it 'returns http success' do
      get 'show', id: article.id

      response.should be_success
    end
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gamification-1.0.3 spec/dummy/spec/controllers/articles_controller_spec.rb
gamification-1.0.2 spec/dummy/spec/controllers/articles_controller_spec.rb
gamification-1.0.1 spec/dummy/spec/controllers/articles_controller_spec.rb
gamification-1.0.0 spec/dummy/spec/controllers/articles_controller_spec.rb