Sha256: 1fd132e9f0ebfdcca0ea51dd5c81ee1afadc52ed872c45fb0a7e84b0ccfeba29
Contents?: true
Size: 530 Bytes
Versions: 15
Compression:
Stored size: 530 Bytes
Contents
require 'spec_helper' module Brightcontent describe Attachment do subject(:attachment) { Attachment.new } describe ".attachment_styles" do context "without extra options" do its(:attachment_styles) { should == { brightcontent: "100x100#" } } end context "with extra options" do let(:blog) { build_stubbed(:blog) } before { attachment.attachable = blog } its(:attachment_styles) { should == { test: "200x200", brightcontent: "100x100#" } } end end end end
Version data entries
15 entries across 15 versions & 1 rubygems