2016-03-07 16:52:19 -08:00
|
|
|
# frozen_string_literal: true
|
2015-12-15 14:03:59 +00:00
|
|
|
require 'spec_helper'
|
|
|
|
require 'capybara/rspec'
|
|
|
|
|
|
|
|
RSpec.configuration.before(:each, { file_path: "./spec/rspec/scenarios_spec.rb" } ) do
|
|
|
|
@in_filtered_hook = true
|
|
|
|
end
|
|
|
|
|
|
|
|
if RSpec::Core::Version::STRING.to_f >= 3.0
|
|
|
|
feature "if fscenario aliases focused tag then" do
|
|
|
|
fscenario "scenario should have focused meta tag" do |example|
|
|
|
|
expect(example.metadata[:focus]).to eq true
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
feature "if xscenario aliases to pending then" do
|
|
|
|
xscenario "this test should be 'temporarily disabled with xscenario'" do
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|