Sha256: 0f1b39d85d5a69fbe2dfeef314eddcd1f92a358dcdc1443d511470ce87654b80
Contents?: true
Size: 607 Bytes
Versions: 4
Compression:
Stored size: 607 Bytes
Contents
# -*- encoding: utf-8 -*- require 'spec_helper' describe "profiles/show" do fixtures :all before(:each) do view.stub(:current_user).and_return(User.where(username: 'enjuadmin').first) assign(:profile, User.where(username: 'enjuadmin').first.profile) end it "renders attributes in <p>" do render # Run the generator again with the --webrat flag if you want to use webrat matchers rendered.should match(/θΏε΄ζι/) # Run the generator again with the --webrat flag if you want to use webrat matchers assert_select "tr:nth-child(2)>td:nth-child(2)", /00014/ end end
Version data entries
4 entries across 4 versions & 1 rubygems