features/step_definitions/sdk_steps.rb in polytrix-0.1.2 vs features/step_definitions/sdk_steps.rb in polytrix-0.1.3
- old
+ new
@@ -7,13 +7,9 @@
Given(/^the (\w+) polytrix config$/) do |config|
FileUtils.cp_r "features/fixtures/configs/#{config}.yml", "#{current_dir}/polytrix.yml"
end
-Given(/^the standard rspec setup$/) do
- FileUtils.cp_r 'features/fixtures/spec/', "#{current_dir}/"
-end
-
Then(/^the file "(.*?)" should contain yaml matching:$/) do |file, content|
in_current_dir do
actual_content = YAML.load(File.read(file))
expected_content = YAML.load(content)
expect(actual_content).to eq(expected_content)