Sha256: 3fe47f1ab84bf3d9a6e8460d755907dcb69c6efb8e94c24490bea0561db363ce

Contents?: true

Size: 323 Bytes

Versions: 11

Compression:

Stored size: 323 Bytes

Contents

require File.dirname(__FILE__) + '/../spec_helper'

describe Reader do
  dataset :groups
  
  before do
    @site = Page.current_site = sites(:test) if defined? Site
  end
  
  it "should have some groups" do
    reader = readers(:normal)
    reader.groups.any?.should be_true
    reader.groups.size.should == 2
  end

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
radiant-reader_group-extension-1.2.4 spec/models/reader_spec.rb
radiant-reader_group-extension-1.2.3 spec/models/reader_spec.rb
radiant-reader_group-extension-1.2.2 spec/models/reader_spec.rb
radiant-reader_group-extension-1.2.1 spec/models/reader_spec.rb
radiant-reader_group-extension-1.2.0 spec/models/reader_spec.rb
radiant-reader_group-extension-1.1.2 spec/models/reader_spec.rb
radiant-reader_group-extension-1.1.1 spec/models/reader_spec.rb
radiant-reader_group-extension-1.1.0 spec/models/reader_spec.rb
radiant-reader_group-extension-1.0.1 spec/models/reader_spec.rb
radiant-reader_group-extension-1.0.0 spec/models/reader_spec.rb
radiant-reader_group-extension-0.9.0 spec/models/reader_spec.rb