AutoCommit Mon Aug 31 23:03:01 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-08-31 23:03:01 +02:00
parent 221bd95cbf
commit 3bcd8389d4
8 changed files with 6 additions and 10 deletions

0
Fetmailalias, Normal file
View File

View File

@@ -88,6 +88,7 @@ gem 'factory_girl_rails',"~>4.5.0"
gem 'rspec-rails' gem 'rspec-rails'
gem 'minitest', "~>4.7.5" gem 'minitest', "~>4.7.5"
gem 'rspec-collection_matchers' gem 'rspec-collection_matchers'
gem 'rspec-activemodel-mocks'
gem 'rspec-expectations' gem 'rspec-expectations'
end end

0
MyText, Normal file
View File

0
Nachname, Normal file
View File

0
Short, Normal file
View File

0
Vorname, Normal file
View File

0
false Normal file
View File

View File

@@ -1,16 +1,11 @@
require 'spec_helper' require 'spec_helper'
describe "fetprofiles/show" do describe "fetprofiles/show", :type => :view do
before(:each) do before(:each) do
@fetprofile = assign(:fetprofile, stub_model(Fetprofile, # @fetprofile =
:vorname => "Vorname", #assign(:fetprofile, stub_model(Fetprofile, FactoryGirl.attributes_for(:fetprofile)))
:nachname => "Nachname", default_url_options[:locale] = :de
:short => "Short", assign(:fetprofile, FactoryGirl.create(:fetprofile))
:fetmailalias => "Fetmailalias",
:desc => "MyText",
:active => false
))
end end
it "renders attributes in <p>" do it "renders attributes in <p>" do