spec/lib/internals/interfaces/live_parameters_spec.rb in picky-2.4.1 vs spec/lib/internals/interfaces/live_parameters_spec.rb in picky-2.4.2
- old
+ new
@@ -16,9 +16,31 @@
before(:each) do
@error = Interfaces::LiveParameters::CouldNotUpdateConfigurationError.new :some_key, 'some message'
end
end
+ describe 'querying_removes_characters' do
+ it 'works' do
+ expect do
+ @parameters.querying_removes_characters
+ end.to_not raise_error
+ end
+ end
+ describe 'querying_stopwords' do
+ it 'works' do
+ expect do
+ @parameters.querying_stopwords
+ end.to_not raise_error
+ end
+ end
+ describe 'querying_splits_text_on' do
+ it 'works' do
+ expect do
+ @parameters.querying_splits_text_on
+ end.to_not raise_error
+ end
+ end
+
describe 'parameters' do
context 'all goes well' do
it 'does a few things in order' do
@parameters.should_receive(:close_child).once.with().ordered
@parameters.should_receive(:try_updating_configuration_with).once.with(:a => :b).ordered
\ No newline at end of file