aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/spec_helper.rb1
-rw-r--r--spec/unit/zero/controller/render_spec.rb2
2 files changed, 2 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 733a9a9..2db4ebb 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,4 +1,5 @@
require 'bundler/setup'
+require 'rspec/its'
if ENV['SIMPLECOV']
require 'simplecov'
diff --git a/spec/unit/zero/controller/render_spec.rb b/spec/unit/zero/controller/render_spec.rb
index 0228524..e9fde82 100644
--- a/spec/unit/zero/controller/render_spec.rb
+++ b/spec/unit/zero/controller/render_spec.rb
@@ -5,7 +5,7 @@ describe Zero::Controller, '#render' do
subject { object.new(env) }
let(:env) { EnvGenerator.get('/foo') }
- let(:renderer) { mock }
+ let(:renderer) { Object.new }
let(:template) { '/foo' }
before :each do