Sha256: f0c3a12bad2cc05fc864a94581ec8dece4c3d4f01cf5c08664554ed880979868
Contents?: true
Size: 361 Bytes
Versions: 8
Compression:
Stored size: 361 Bytes
Contents
require 'spec_helper' describe 'users/_following_modal.html.erb' do let(:user) { FactoryGirl.create(:user, display_name: "Frank") } before do assign :following, [user] end it "should draw user list" do render page = Capybara::Node::Simple.new(rendered) expect(page).to have_link "Frank", href: "/users/#{user.to_param}" end end
Version data entries
8 entries across 8 versions & 1 rubygems