mattscilipoti-model_steps 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/model_steps/step_definitions.rb +1 -1
- data/mattscilipoti-model_steps.gemspec +2 -2
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.3
|
@@ -475,7 +475,7 @@ end
|
|
475
475
|
|
476
476
|
def requested_model_with_identifier_to_model_instance(requested_model, default_identifier)
|
477
477
|
model = requested_model_to_model(requested_model)
|
478
|
-
model_under_test = model.find(default_identifier)
|
478
|
+
model_under_test = model.find(default_identifier.slugify) #friendly_id only finds by name and slug (if use_slug?)
|
479
479
|
return model_under_test
|
480
480
|
rescue ActiveRecord::RecordNotFound
|
481
481
|
factory_name = model_to_factory_symbol(requested_model)
|
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{mattscilipoti-model_steps}
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Matt Scilipoti", "Chris Cahoon"]
|
12
|
-
s.date = %q{2010-08-
|
12
|
+
s.date = %q{2010-08-19}
|
13
13
|
s.description = %q{Step Definitions for cucumber which support ActiveRecord Models}
|
14
14
|
s.email = %q{matt@scilipoti.name}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mattscilipoti-model_steps
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 3
|
10
|
+
version: 0.3.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Matt Scilipoti
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-08-
|
19
|
+
date: 2010-08-19 00:00:00 -04:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|