Sha256: fea9d233ca3d6d95f3b60a7fffddbfd09761044af1fdcbf0ea748baae64c4963

Contents?: true

Size: 380 Bytes

Versions: 67

Compression:

Stored size: 380 Bytes

Contents

let login_as_admin

describe 'articles/_article.html.erb' do
	context 'when the article has a url' do
	it 'display the url' do
			assign(:article, Article.build(:article, url: 'http://localhost:3000/jinda/init?s=articles:new_article'))

						 render

						 expect(rendered).to have_link 'Article', href: 'http://localhost:3000/jinda/init?s=articles:new_article'
		end
	end
end

Version data entries

67 entries across 64 versions & 4 rubygems

Version Path
jinda-0.8.0 lib/generators/jinda/templates/spec/views/articles/_article.html.erb_spec.rbx
jinda-0.8.0 test/dummy/spec/views/articles/_article.html.erb_spec.rbx
jinda-0.7.7.4 lib/generators/jinda/templates/spec/views/articles/_article.html.erb_spec.rbx
jinda-0.7.7.4 test/dummy/spec/views/articles/_article.html.erb_spec.rbx
jinda-0.7.7.3 test/dummy/spec/views/articles/_article.html.erb_spec.rbx
jinda-0.7.7.3 lib/generators/jinda/templates/spec/views/articles/_article.html.erb_spec.rbx
jinda-0.7.7.2 lib/generators/jinda/templates/spec/views/articles/_article.html.erb_spec.rbx
jinda-0.7.7.1 lib/generators/jinda/templates/spec/views/articles/_article.html.erb_spec.rbx
jinda_mind-1.0.0 lib/generators/jinda/templates/spec/views/articles/_article.html.erb_spec.rbx
jinda-0.7.7 lib/generators/jinda/templates/spec/views/articles/_article.html.erb_spec.rbx
jinda-0.7.6 lib/generators/jinda/templates/spec/views/articles/_article.html.erb_spec.rbx
jinda-0.7.5.5 lib/generators/jinda/templates/spec/views/articles/_article.html.erb_spec.rbx
jinda-0.7.5.4 lib/generators/jinda/templates/spec/views/articles/_article.html.erb_spec.rbx
jinda-0.7.5.3 lib/generators/jinda/templates/spec/views/articles/_article.html.erb_spec.rbx
jinda-0.7.5.2 lib/generators/jinda/templates/spec/views/articles/_article.html.erb_spec.rbx
jinda-0.7.5.0 lib/generators/jinda/templates/spec/views/articles/_article.html.erb_spec.rbx
jinda-0.7.3 lib/generators/jinda/templates/spec/views/articles/_article.html.erb_spec.rbx
jinda-0.7.2 lib/generators/jinda/templates/spec/views/articles/_article.html.erb_spec.rbx
jinda-0.7.1 lib/generators/jinda/templates/spec/views/articles/_article.html.erb_spec.rbx
jinda-0.7.0.4 lib/generators/jinda/templates/spec/views/articles/_article.html.erb_spec.rbx