mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FEATURE: remove star concept from Discourse
This commit is contained in:
parent
fa8493118b
commit
efc717c14a
35 changed files with 50 additions and 448 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue