languages_controller_spec.rb revision 7ca38d75d045fade73b81bff6fdf34f4755d75fb
bcb4e51a409d94ae670de96afb8483a4f7855294Stephan Boschrequire 'spec_helper'
b2ff0468c298dd2f525fff5977f1f24fba3a9f3bTimo Sirainen let!(:language) { create :language, user: user }
96e1ed172ae59cae6bc6e6ddd24d22a158e23dfeTimo Sirainen expect(Language.find_by_name(language2.name).name).to eq(language2.name)
b2ff0468c298dd2f525fff5977f1f24fba3a9f3bTimo Sirainen expect(Language.find_by_name(oldname)).to be_falsy
before do
before do
before do
before do