From d4892ace62cd5d73d7e4958bf98fe37244811c7f Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 19 Mar 2016 12:13:47 +0100 Subject: Adding more test stubs --- spec/services/fan_out_on_write_service_spec.rb | 5 +++++ spec/services/favourite_service_spec.rb | 5 +++++ spec/services/precompute_feed_service_spec.rb | 5 +++++ spec/services/setup_local_account_service_spec.rb | 8 -------- spec/services/update_remote_profile_service_spec.rb | 5 +++++ 5 files changed, 20 insertions(+), 8 deletions(-) create mode 100644 spec/services/fan_out_on_write_service_spec.rb create mode 100644 spec/services/favourite_service_spec.rb create mode 100644 spec/services/precompute_feed_service_spec.rb delete mode 100644 spec/services/setup_local_account_service_spec.rb create mode 100644 spec/services/update_remote_profile_service_spec.rb (limited to 'spec/services') diff --git a/spec/services/fan_out_on_write_service_spec.rb b/spec/services/fan_out_on_write_service_spec.rb new file mode 100644 index 000000000..2b087edd9 --- /dev/null +++ b/spec/services/fan_out_on_write_service_spec.rb @@ -0,0 +1,5 @@ +require 'rails_helper' + +RSpec.describe FanOutOnWriteService do + subject { FanOutOnWriteService.new } +end diff --git a/spec/services/favourite_service_spec.rb b/spec/services/favourite_service_spec.rb new file mode 100644 index 000000000..eb961c28e --- /dev/null +++ b/spec/services/favourite_service_spec.rb @@ -0,0 +1,5 @@ +require 'rails_helper' + +RSpec.describe FavouriteService do + subject { FavouriteService.new } +end diff --git a/spec/services/precompute_feed_service_spec.rb b/spec/services/precompute_feed_service_spec.rb new file mode 100644 index 000000000..392cb0e4d --- /dev/null +++ b/spec/services/precompute_feed_service_spec.rb @@ -0,0 +1,5 @@ +require 'rails_helper' + +RSpec.describe PrecomputeFeedService do + subject { PrecomputeFeedService.new } +end diff --git a/spec/services/setup_local_account_service_spec.rb b/spec/services/setup_local_account_service_spec.rb deleted file mode 100644 index 2e85fc4f5..000000000 --- a/spec/services/setup_local_account_service_spec.rb +++ /dev/null @@ -1,8 +0,0 @@ -require 'rails_helper' - -RSpec.describe SetupLocalAccountService do - subject { SetupLocalAccountService.new } - - it 'creates a user' - it 'creates an account for the user' -end diff --git a/spec/services/update_remote_profile_service_spec.rb b/spec/services/update_remote_profile_service_spec.rb new file mode 100644 index 000000000..f09f60ada --- /dev/null +++ b/spec/services/update_remote_profile_service_spec.rb @@ -0,0 +1,5 @@ +require 'rails_helper' + +RSpec.describe UpdateRemoteProfileService do + subject { UpdateRemoteProfileService.new } +end -- cgit