cm_quiz 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b599c3b730a0892670fc31a9158581871ac2477c
4
- data.tar.gz: e14f8cf17e0904bc997ff1cf1a464e53835b7cc6
3
+ metadata.gz: dc77888481a803f7db3a36264d6a186399c4a8e4
4
+ data.tar.gz: '085596feedbea76838d8c4d373eac54c99a95aa3'
5
5
  SHA512:
6
- metadata.gz: 1fd3b20238409f23768b8cb4ec073caa6578d4233dc9e0a9ad0859a7084cee6901356eb4cd272f28ba1c737d9a63b9af1fba43c6d69f073de84a74ea86d3336e
7
- data.tar.gz: 6fa9e4ebf1ae903f9f9415597372545d9006c722dd4b68aa5109bde39261dbc52e846cb945cf3e94cd15342f88bc856ab3bcde65b4f6e929cb64caec2f55aa82
6
+ metadata.gz: d3300f5db11bf748b89ba1e4b4985d3173823c72f0d4109bc373b2e2195cf509b7bd6e02dbc631390858ac6e688c6f891f93933dfd9c824af5f42911a5843938
7
+ data.tar.gz: 36eeed732f743ba156710c3df78e76a30ff14659a77ba26bfb6a36d42240ca4469366c7f09c02f7d062cedbbfab868557313b79fa428a0928ade1968109e51b5
@@ -21,7 +21,8 @@ module CmQuiz
21
21
 
22
22
  res = send_get_ideas_request(jwt: jwt)
23
23
  res_hash = JSON.parse(res.body)
24
- expect(res_hash.size).to eq(0)
24
+ idea = res_hash.find { |item| item['id'] == idea_id }
25
+ expect(idea).to be_nil
25
26
  end
26
27
 
27
28
  private
@@ -14,6 +14,10 @@ module CmQuiz
14
14
  RSpec::Matchers::BuiltIn::Be.new
15
15
  end
16
16
 
17
+ def be_nil
18
+ RSpec::Matchers::BuiltIn::BeNil.new
19
+ end
20
+
17
21
  def be_within(delta)
18
22
  RSpec::Matchers::BuiltIn::BeWithin.new(delta)
19
23
  end
@@ -1,3 +1,3 @@
1
1
  module CmQuiz
2
- VERSION = '0.0.7'
2
+ VERSION = '0.0.8'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cm_quiz
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - ben
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
129
  version: '0'
130
130
  requirements: []
131
131
  rubyforge_project:
132
- rubygems_version: 2.6.13
132
+ rubygems_version: 2.6.14.3
133
133
  signing_key:
134
134
  specification_version: 4
135
135
  summary: Review your codementor quiz