mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
remove uneeded specs
This commit is contained in:
parent
7b26f5086b
commit
0408e87e00
2 changed files with 0 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue