File: rspec3

package info (click to toggle)
ruby-climate-control 0.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 132 kB
  • sloc: ruby: 161; makefile: 4
file content (15 lines) | stat: -rw-r--r-- 424 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Make tests follow RSpec 3 syntax
Author: Balasankar C <balasankarc@autistici.org>
Last-Update: 2015-07-25
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/spec/acceptance/climate_control_spec.rb
+++ b/spec/acceptance/climate_control_spec.rb
@@ -9,6 +9,6 @@
     end
 
     expect(ENV['FOO']).to be_nil
-    expect(block_run).to be_true
+    expect(block_run).to be_truthy
   end
 end