diffs_controller_spec.rb revision 7ca38d75d045fade73b81bff6fdf34f4755d75fb
require 'spec_helper'
before do
end
it { should respond_with :success }
end
end
before { sign_in other_user }
it { should respond_with :success }
end
end
it { should respond_with :success }
end
end
end
before do
repository.access = 'private_rw'
end
it { should respond_with :success }
end
end
before { sign_in other_user }
it { should respond_with :found }
it { should redirect_to root_path }
end
end
end
it { should respond_with :found }
it { should redirect_to root_path }
end
end
end
end
end