Sha256: 2e0cf7bf32f4fe8f0fec668a7ec9c86fe84ac2e0eb0aec3f1b0b0e42127be846

Contents?: true

Size: 311 Bytes

Versions: 13

Compression:

Stored size: 311 Bytes

Contents

require 'rails_helper'

describe Fe::Admin::QuestionPagesController, type: :controller do
  context '#show' do
    it 'should work' do
      page = create(:page)
      question_sheet = page.question_sheet
      get :show, params: {question_sheet_id: question_sheet.id, id: page.id}, xhr: true
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
fe-2.1.5 spec/controllers/fe/admin/question_pages_controller_spec.rb
fe-2.1.4 spec/controllers/fe/admin/question_pages_controller_spec.rb
fe-2.1.3 spec/controllers/fe/admin/question_pages_controller_spec.rb
fe-2.1.2 spec/controllers/fe/admin/question_pages_controller_spec.rb
fe-2.1.1 spec/controllers/fe/admin/question_pages_controller_spec.rb
fe-2.0.8 spec/controllers/fe/admin/question_pages_controller_spec.rb
fe-2.0.6 spec/controllers/fe/admin/question_pages_controller_spec.rb
fe-2.0.5 spec/controllers/fe/admin/question_pages_controller_spec.rb
fe-2.0.4 spec/controllers/fe/admin/question_pages_controller_spec.rb
fe-2.0.3 spec/controllers/fe/admin/question_pages_controller_spec.rb
fe-2.0.2 spec/controllers/fe/admin/question_pages_controller_spec.rb
fe-2.0.1 spec/controllers/fe/admin/question_pages_controller_spec.rb
fe-2.0.0 spec/controllers/fe/admin/question_pages_controller_spec.rb