Sha256: 1bbb1dc4f51b6bb136ebeb846f28e5daf8d77d64327d44eeb2056663ac45626f
Contents?: true
Size: 877 Bytes
Versions: 4
Compression:
Stored size: 877 Bytes
Contents
$:.push File.expand_path("../../lib", __FILE__) require "git-flattr" github_urls = [ "git@github.com:kallux/5defence.git", "https://simon@github.com/kallux/5defence.git", "git://github.com/kallux/5defence.git", "git@github.com:simon/git-flattr.git", "https://simon@github.com/simon/git-flattr.git", "git://github.com/simon/git-flattr.git", "https://github.com/voxpelli/jquery-alterbyobject.git", "git://github.com/voxpelli/jquery-alterbyobject.git", "git@github.com:simon/colorful_json.git", "https://simon@github.com/simon/colorful_json.git", "git://github.com/simon/colorful_json.git", "https://github.com/Ask11/backbone.offline.git", "git://github.com/Ask11/backbone.offline.git" ] describe Git, '#github_repo?' do it "returns true for all github urls" do github_urls.each { |url| Git.github_repo?(url).should be_true } end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
git-flattr-0.0.12 | spec/git_spec.rb |
git-flattr-0.0.11 | spec/git_spec.rb |
git-flattr-0.0.10 | spec/git_spec.rb |
git-flattr-0.0.9 | spec/git_spec.rb |