spec/rubykhan_spec.rb in rubykhan-0.0.3 vs spec/rubykhan_spec.rb in rubykhan-0.0.4
- old
+ new
@@ -19,9 +19,10 @@
end
it "returns a hash of topics" do
all = KhanAcademy::TopicTree.new
expect(a_request(:get, 'http://www.KhanAcademy.org/api/v1/topictree')).to have_been_made
+
expect(all.topics['cs']).to eq "programming"
end
end
describe 'new topic' do
\ No newline at end of file