mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
FEATURE: remove star concept from Discourse
This commit is contained in:
@ -184,22 +184,6 @@ describe ListController do
|
||||
end
|
||||
end
|
||||
|
||||
context 'starred' do
|
||||
it 'raises an error when not logged in' do
|
||||
lambda { xhr :get, :starred }.should raise_error(Discourse::NotLoggedIn)
|
||||
end
|
||||
|
||||
context 'when logged in' do
|
||||
before do
|
||||
log_in_user(@user)
|
||||
xhr :get, :starred
|
||||
end
|
||||
|
||||
it { should respond_with(:success) }
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
context 'read' do
|
||||
it 'raises an error when not logged in' do
|
||||
lambda { xhr :get, :read }.should raise_error(Discourse::NotLoggedIn)
|
||||
|
Reference in New Issue
Block a user