okuribito_rails 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -111,4 +111,16 @@ describe OkuribitoRails::MethodCallSituation do
111
111
  it { is_expected.not_to be_valid }
112
112
  end
113
113
  end
114
+
115
+ describe "duplicate registration" do
116
+ before do
117
+ FactoryGirl.create(:method_call_situation,
118
+ class_name: class_name,
119
+ method_symbol: method_symbol,
120
+ method_name: method_name,
121
+ called_num: called_num)
122
+ end
123
+
124
+ it { is_expected.not_to be_valid }
125
+ end
114
126
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: okuribito_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yasuhiro Matsumura
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-25 00:00:00.000000000 Z
11
+ date: 2017-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: okuribito