BigW Consortium Gitlab

search.rb 372 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
require 'spec_helper'

describe SearchController, '(JavaScript fixtures)', type: :controller do
  include JavaScriptFixturesHelpers

  render_views

  before(:all) do
    clean_frontend_fixtures('search/')
  end

  it 'search/show.html.raw' do |example|
    get :show

    expect(response).to be_success
    store_frontend_fixture(response, example.description)
  end
end