Sha256: d20d8eb254f0659058b2f8bdc14ce535d833ef20d0be1e6cfbaace121567885a

Contents?: true

Size: 206 Bytes

Versions: 4

Compression:

Stored size: 206 Bytes

Contents

require 'spec_helper'

describe 'stache/accessor' do
  it "should pass an instance variable through via an accessor" do
    assign(:user, "Magnus")
    render
    rendered.should include "Magnus"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
stache-1.2.0 spec/views/accessor_spec.rb
stache-1.1.1 spec/views/accessor_spec.rb
stache-1.1.0 spec/views/accessor_spec.rb
stache-1.0.3 spec/views/accessor_spec.rb