fixes by houndci

This commit is contained in:
Gopesh Tulsyan 2014-05-19 21:25:42 +05:30
parent 7a5f47257a
commit 03138fd40d
3 changed files with 4 additions and 6 deletions

View file

@ -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

View file

@ -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

View file

@ -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