Merge remote-tracking branch 'thomasb/master'

Conflicts:
	app/assets/stylesheets/formtastic-changes.css.scss
	app/controllers/beispiele_controller.rb
	app/views/lvas/show.html.erb
	app/views/studien/_form.html.erb
	config/locales/de.yml
	config/routes.rb
	db/schema.rb
This commit is contained in:
Andreas Stephanides
2013-08-12 11:11:59 +02:00
44 changed files with 791 additions and 245 deletions

View File

@@ -1,5 +1,14 @@
require 'spec_helper'
describe Modul do
pending "add some examples to (or delete) #{__FILE__}"
it "should not be valid without name" do
m = FactoryGirl.build(:modul)
m.should_not be_valid
m.should have(1).errors_on(:name)
end
it "should be valid with name" do
m = FactoryGirl.build(:modul)
m.name = "Grundlagen"
m.should be_valid
end
end