mirror of
https://github.com/discourse/discourse.git
synced 2026-07-29 15:54:48 -05:00
DEV: Move spec/components to spec/lib (#15987)
Lib specs were inexplicably split into two directories (`lib` and `components`) This moves them all into `lib`.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'rails_helper'
|
||||
require 'new_post_result'
|
||||
|
||||
describe NewPostResult do
|
||||
|
||||
it "fails by default" do
|
||||
result = NewPostResult.new(:eviltrout)
|
||||
expect(result.failed?).to eq(true)
|
||||
expect(result.success?).to eq(false)
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user