mirror of
https://github.com/discourse/discourse.git
synced 2025-03-22 15:25:34 +08:00
remove uneeded specs
This commit is contained in:
parent
7b26f5086b
commit
0408e87e00
spec
@ -28,10 +28,6 @@ describe ScoreCalculator do
|
||||
expect(topic.score).to be_present
|
||||
end
|
||||
|
||||
it "gives the topic a percent_rank" do
|
||||
expect(topic.percent_rank).not_to eq(1.0)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
context 'summary' do
|
||||
|
@ -1144,7 +1144,6 @@ describe Topic do
|
||||
it 'is a regular topic by default' do
|
||||
expect(topic.archetype).to eq(Archetype.default)
|
||||
expect(topic.has_summary).to eq(false)
|
||||
expect(topic.percent_rank).to eq(1.0)
|
||||
expect(topic).to be_visible
|
||||
expect(topic.pinned_at).to be_blank
|
||||
expect(topic).not_to be_closed
|
||||
|
Loading…
x
Reference in New Issue
Block a user