74977456 'Articles model/controller/view specs refactoring'

https://www.pivotaltracker.com/story/show/74977456
(part of epic 74977456 https://www.pivotaltracker.com/epic/show/1288994)
ok i've looked into this and the issue is with using either build or build_stubbed with friendly_id. create works just fine, but using one of the other two will require figuring out how to stub out the friendly_id stuff. i can't figure out how to do it. been trying for a couple of hours.

anybody know how to do this? here's what i've been trying that doesn't work:

describe 'articles/show', type: :view do
  before(:each) do
    @user = build_stubbed(:user, first_name: 'Thomas')
    @author = @user
    allow(Article).to receive(:friendly).and_return('friendly_id') 
    @article = build_stubbed(:article,
		   id: 555,
		   #friendly_id: 'friendly_id',
		   title: "Ruby article",
		   content: "My Ruby content",
		   tag_list: ["Ruby", "Rails"],
		   user: @user,
		   created_at: Time.now,
		   updated_at: Time.now
		   )
  end