spec/git_trend/cli_spec.rb in git-trend-0.0.8 vs spec/git_trend/cli_spec.rb in git-trend-0.0.9
- old
+ new
@@ -286,11 +286,11 @@
end
end
end
end
- describe '#all_languages' do
+ describe '#languages' do
before do
@cli = CLI.new
stub_request_get('trending')
end
@@ -484,10 +484,10 @@
|183 languages
|you can get only selected language list with '-l' option.
|if languages is unknown, you can specify 'unkown'.
|
EOS
- expect { @cli.all_languages }.to output(res).to_stdout
+ expect { @cli.languages }.to output(res).to_stdout
end
end
end
private