remove uneeded specs
This commit is contained in:
parent
7b26f5086b
commit
0408e87e00
|
@ -28,10 +28,6 @@ describe ScoreCalculator do
|
||||||
expect(topic.score).to be_present
|
expect(topic.score).to be_present
|
||||||
end
|
end
|
||||||
|
|
||||||
it "gives the topic a percent_rank" do
|
|
||||||
expect(topic.percent_rank).not_to eq(1.0)
|
|
||||||
end
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'summary' do
|
context 'summary' do
|
||||||
|
|
|
@ -1144,7 +1144,6 @@ describe Topic do
|
||||||
it 'is a regular topic by default' do
|
it 'is a regular topic by default' do
|
||||||
expect(topic.archetype).to eq(Archetype.default)
|
expect(topic.archetype).to eq(Archetype.default)
|
||||||
expect(topic.has_summary).to eq(false)
|
expect(topic.has_summary).to eq(false)
|
||||||
expect(topic.percent_rank).to eq(1.0)
|
|
||||||
expect(topic).to be_visible
|
expect(topic).to be_visible
|
||||||
expect(topic.pinned_at).to be_blank
|
expect(topic.pinned_at).to be_blank
|
||||||
expect(topic).not_to be_closed
|
expect(topic).not_to be_closed
|
||||||
|
|
Loading…
Reference in New Issue