js-test-driver-rails 0.4.2 → 0.4.3
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/Gemfile.lock +1 -1
- data/lib/js_test_driver/config.rb +1 -1
- data/lib/js_test_driver/version.rb +1 -1
- data/test/unit/config_test.rb +2 -2
- metadata +2 -2
data/Gemfile.lock
CHANGED
@@ -178,7 +178,7 @@ module JsTestDriver
|
|
178
178
|
|
179
179
|
def expand_globs(paths)
|
180
180
|
with_expanded_paths = paths.map{|path| File.expand_path(path)}
|
181
|
-
return with_expanded_paths.map{|path| path.include?('*') ? Dir[path] : path}.flatten
|
181
|
+
return with_expanded_paths.map{|path| path.include?('*') ? Dir[path].sort : path}.flatten
|
182
182
|
end
|
183
183
|
|
184
184
|
def fixture_file_name(fixture)
|
data/test/unit/config_test.rb
CHANGED
@@ -12,7 +12,7 @@ module JsTestDriver
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def paths(arr)
|
15
|
-
arr.map{|s| path(s)}
|
15
|
+
arr.map{|s| path(s)}.sort
|
16
16
|
end
|
17
17
|
|
18
18
|
def assert_config_includes(config, hash)
|
@@ -188,7 +188,7 @@ module JsTestDriver
|
|
188
188
|
config.includes "a/a", "/b/b", "../c"
|
189
189
|
|
190
190
|
# then
|
191
|
-
assert_config_includes config, 'load' =>
|
191
|
+
assert_config_includes config, 'load' => ["a/a", '/b/b', "../c"].map{|p| path(p)}
|
192
192
|
end
|
193
193
|
|
194
194
|
def test_config_with_html_fixtures
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: js-test-driver-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.4.
|
5
|
+
version: 0.4.3
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Adam Pohorecki
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
13
|
+
date: 2011-05-18 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: json
|