mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-05 20:23:16 +08:00
adds controller spec
This commit is contained in:
parent
2118b31762
commit
605674bf6b
1 changed files with 10 additions and 0 deletions
|
@ -0,0 +1,10 @@
|
||||||
|
require 'rails_helper'
|
||||||
|
|
||||||
|
describe ClientApi::ConfigurationsController, type: :controller do
|
||||||
|
login_user
|
||||||
|
|
||||||
|
describe '#about_scinote' do
|
||||||
|
let(:subject) { get :about_scinote, format: :json }
|
||||||
|
it { is_expected.to be_success }
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in a new issue