busser 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.md +7 -0
- data/lib/busser/cucumber.rb +15 -0
- data/lib/busser/version.rb +1 -1
- metadata +1 -1
data/CHANGELOG.md
CHANGED
data/lib/busser/cucumber.rb
CHANGED
@@ -69,6 +69,21 @@ Then(/^the suite file "(.*?)" should contain exactly:$/) do |file, content|
|
|
69
69
|
check_exact_file_content(file_name, content)
|
70
70
|
end
|
71
71
|
|
72
|
+
Then(/^the vendor directory named "(.*?)" should exist$/) do |name|
|
73
|
+
directory = File.join(ENV['BUSSER_ROOT'], "vendor", name)
|
74
|
+
check_directory_presence([directory], true)
|
75
|
+
end
|
76
|
+
|
77
|
+
Then(/^the vendor directory named "(.*?)" should not exist$/) do |name|
|
78
|
+
directory = File.join(ENV['BUSSER_ROOT'], "vendor", name)
|
79
|
+
check_directory_presence([directory], false)
|
80
|
+
end
|
81
|
+
|
82
|
+
Then(/^the vendor file "(.*?)" should contain "(.*?)"$/) do |file, content|
|
83
|
+
file_name = File.join(ENV['BUSSER_ROOT'], "vendor", file)
|
84
|
+
check_file_content(file_name, content, true)
|
85
|
+
end
|
86
|
+
|
72
87
|
Then(/^a gem named "(.*?)" is installed with version "(.*?)"$/) do |name, ver|
|
73
88
|
unbundlerize do
|
74
89
|
run_simple(unescape("gem list #{name} --version #{ver} -i"), true, nil)
|
data/lib/busser/version.rb
CHANGED