mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-17 05:34:04 +00:00
fixes by houndci
This commit is contained in:
parent
7a5f47257a
commit
03138fd40d
3 changed files with 4 additions and 6 deletions
|
|
@ -1,9 +1,8 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe ConferenceController do
|
||||
|
||||
describe "GET 'show'" do
|
||||
it "returns http success" do
|
||||
describe 'GET #show' do
|
||||
it 'returns http success' do
|
||||
get :show, id: 'sample'
|
||||
expect(response).to be_success
|
||||
end
|
||||
|
|
|
|||
|
|
@ -45,7 +45,6 @@ RSpec.configure do |config|
|
|||
config.include Devise::TestHelpers, type: :controller
|
||||
|
||||
config.include Devise::TestHelpers, type: :view
|
||||
|
||||
# Use capybara-webkit as default javascript driver
|
||||
Capybara.javascript_driver = :webkit
|
||||
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe "conference/show.html.haml" do
|
||||
describe 'conference/show.html.haml' do
|
||||
it 'renders conference details' do
|
||||
@conference = create(:conference)
|
||||
assign :conference, @conference
|
||||
render
|
||||
expect(render).to include("#{@conference.title}")
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue