Sha256: 27c7ce8fb128db7f6360c5e74ab767154df82e289396ad347670c5568856df93

Contents?: true

Size: 257 Bytes

Versions: 3

Compression:

Stored size: 257 Bytes

Contents

require "spec_helper"

describe "render_template" do
  it "delegates to assert_template" do
    self.should_receive(:assert_template).with({:this => "hash"}, "this message")
    "response".should render_template({:this => "hash"}, "this message")
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rspec-rails-2.0.0.beta.7 spec/rspec/rails/matchers/render_template_spec.rb
rspec-rails-2.0.0.beta.6 spec/rspec/rails/matchers/render_template_spec.rb
rspec-rails-2.0.0.beta.5 spec/rspec/rails/matchers/render_template_spec.rb