Sha256: efa3b57f5a9df60829143e86173a7bc9484453c136af8d3a17c26102e99f5240

Contents?: true

Size: 319 Bytes

Versions: 3

Compression:

Stored size: 319 Bytes

Contents

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

describe Admin::UserHelper do
  scenario :users
  
  it "should render a string containing the user's roles" do
    roles(users(:admin)).should == "Administrator"
    roles(users(:developer)).should == "Developer"
    roles(users(:existing)).should == ''
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
radiant-0.6.7 spec/helpers/admin/user_helper_spec.rb
radiant-0.6.8 spec/helpers/admin/user_helper_spec.rb
radiant-0.6.9 spec/helpers/admin/user_helper_spec.rb