Sha256: 6463e273e0254a56d4a60e7f5e592b8ae3b3e12d760fde0a71f708314a777f8d

Contents?: true

Size: 340 Bytes

Versions: 7

Compression:

Stored size: 340 Bytes

Contents

require 'spec_helper'

describe StaticBlocks::StaticBlock do
  before do
    @static_block = StaticBlocks::StaticBlock.create!({"title" => "foo", "content" => "bar", "status" => "published"})
  end

  subject { @static_block }

  it { should respond_to(:title) }
  it { should respond_to(:content) }
  it { should respond_to(:status) }
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
static_blocks-0.1.1 spec/models/static_block_spec.rb
static_blocks-0.1.0 spec/models/static_block_spec.rb
static_blocks-0.0.5 spec/models/static_block_spec.rb
static_blocks-0.0.4 spec/models/static_block_spec.rb
static_blocks-0.0.3 spec/models/static_block_spec.rb
static_blocks-0.0.2 spec/models/static_block_spec.rb
static_blocks-0.0.1 spec/models/static_block_spec.rb