spec/integration/configuration_spec.rb in loaf-0.3.0 vs spec/integration/configuration_spec.rb in loaf-0.4.0

- old
+ new

@@ -1,13 +1,12 @@ +# encoding: utf-8 + require 'spec_helper' -describe 'setting configuration options' do - - context 'setting default css style for current crumb' do - it "contains 'selected' inside the breadcrumb markup" do - visit root_path - within '#breadcrumbs' do - page.should have_selector('.selected') - end +RSpec.describe 'setting configuration options' do + it "contains 'selected' inside the breadcrumb markup" do + visit posts_path + within '#breadcrumbs' do + expect(page).to have_selector('.selected') end end end