Sha256: 172e53fe8fe645ef979fd11af347cdefc7cf8f6a76a2f683aa0459b60c918695
Contents?: true
Size: 340 Bytes
Versions: 15
Compression:
Stored size: 340 Bytes
Contents
require File.dirname(__FILE__) + "/../../spec_helper" describe Admin::UsersHelper do dataset :users it "should render a string containing the user's roles" do helper.roles(users(:admin)).should == "Administrator" helper.roles(users(:developer)).should == "Developer" helper.roles(users(:existing)).should == '' end end
Version data entries
15 entries across 15 versions & 2 rubygems