2016-03-08 00:52:19 +00:00
|
|
|
# frozen_string_literal: true
|
2018-03-01 00:11:41 +00:00
|
|
|
|
2015-12-15 14:03:59 +00:00
|
|
|
require 'spec_helper'
|
|
|
|
require 'capybara/rspec'
|
|
|
|
|
2018-03-01 00:11:41 +00:00
|
|
|
RSpec.configuration.before(:each, file_path: "./spec/rspec/scenarios_spec.rb") do
|
2015-12-15 14:03:59 +00:00
|
|
|
@in_filtered_hook = true
|
|
|
|
end
|
|
|
|
|
2016-08-17 18:41:40 +00:00
|
|
|
feature "if fscenario aliases focused tag then" do
|
2018-04-27 18:01:47 +00:00
|
|
|
fscenario "scenario should have focused meta tag" do |example| # rubocop:disable RSpec/Focus
|
2016-08-17 18:41:40 +00:00
|
|
|
expect(example.metadata[:focus]).to eq true
|
2015-12-15 14:03:59 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
feature "if xscenario aliases to pending then" do
|
|
|
|
xscenario "this test should be 'temporarily disabled with xscenario'" do
|
|
|
|
end
|
|
|
|
end
|